Skip to content

Commit

Permalink
s/User.is_authenticated()/User.is_authenticated
Browse files Browse the repository at this point in the history
The parentheses are deprecated.
  • Loading branch information
adamhooper committed May 3, 2019
1 parent 829c6cd commit 8fdc751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/views/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def make_init_state(request, workflow=None, modules=None):
ret['modules'] = dict([(str(m['id_name']), m)
for m in modules_data_list])

if request.user.is_authenticated():
if request.user.is_authenticated:
ret['loggedInUser'] = UserSerializer(request.user).data

return ret
Expand Down

0 comments on commit 8fdc751

Please sign in to comment.