Fixed typo. Response should be list, not dict.
This commit is contained in:
parent
576f3a661d
commit
7689281d68
|
@ -16,7 +16,7 @@ class IRBInfo(Script):
|
|||
|
||||
def do_task(self, task, study_id, workflow_id, *args, **kwargs):
|
||||
irb_info = self.pb.get_irb_info(study_id)
|
||||
if isinstance(irb_info, dict):
|
||||
if irb_info:
|
||||
return irb_info
|
||||
else:
|
||||
raise ApiError.from_task(code='missing_irb_info',
|
||||
|
|
Loading…
Reference in New Issue