Skip to content

Commit

Permalink
prep_info
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Jan 26, 2024
1 parent 9e57e9b commit c9a5777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiita_pet/handlers/api_proxy/studies.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def study_prep_get_req(study_id, user_id):
return access_error
# Can only pass ids over API, so need to instantiate object
study = Study(int(study_id))
prep_info = defaultdict(list)
prep_info = {dtype: [] for dtype in study.data_types}
editable = study.can_edit(User(user_id))
for prep in study.prep_templates():
status = prep.status
Expand Down

0 comments on commit c9a5777

Please sign in to comment.