Skip to content

Commit

Permalink
fixing bug with retrieving vetting if not logged in.
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Sep 11, 2024
1 parent de633c7 commit c079342
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions www/cgi/get_stored_analysis_list.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ def main():
result['user_unsaved'] = acollection.user_unsaved

## get the vetting for each
for atype in result:
for ana in result[atype]:
ana.discover_vetting(current_user_id=user.id)
if user_id:
for atype in result:
for ana in result[atype]:
ana.discover_vetting(current_user_id=user_id)

print('Content-Type: application/json\n\n')
print(json.dumps(result))
Expand Down

0 comments on commit c079342

Please sign in to comment.