Skip to content

Commit

Permalink
Bug fix for coowners page empty request.data. (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbecker42 committed Sep 26, 2022
1 parent ab13804 commit f7c6381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybossa/view/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3192,7 +3192,7 @@ def coowners(short_name):
if form.user.data:
# search users
query = form.user.data
params = json.loads(request.data)
params = json.loads(request.data) if request.data else {}

filters = {'enabled': True}

Expand Down

0 comments on commit f7c6381

Please sign in to comment.