Skip to content

Commit 303dc76

Browse files
committed
active in planmill
1 parent db35328 commit 303dc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fum/api/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ def list_employees(request):
601601
rs = []
602602
for group in groups:
603603
for user in group.users.all():
604-
if user.active_in_planmill:
604+
if user.active_in_planmill == Users.PLANMILL_ACTIVE:
605605
user_data = UsersSerializer(user).data
606606
if not filter(lambda x: x['id']==user_data['id'], rs):
607607
rs.append(user_data)

0 commit comments

Comments
 (0)