Skip to content

Commit b188180

Browse files
committed
update submissions schema
1 parent c68e6a0 commit b188180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sync/api/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ def get_submissions(project_id: str) -> Response[dict]:
426426
:rtype: dict
427427
"""
428428
recent_submissions = get_default_client().get_project_submissions(project_id)
429-
if recent_submissions.get("result") and len(recent_submissions["result"]) > 0:
430-
return Response(result=recent_submissions["result"])
429+
if recent_submissions.get("items") and len(recent_submissions["items"]) > 0:
430+
return Response(result=recent_submissions["items"])
431431

432432

433433
def get_latest_project_config_recommendation(

0 commit comments

Comments
 (0)