Skip to content

Commit f5fd7a1

Browse files
authored
Merge pull request #301 from rsnyman/fix-run-id-fallback
Fix a typo
2 parents ec8f7d1 + d87eafc commit f5fd7a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/ibutsu_server/controllers/artifact_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def upload_artifact(body, token_info=None, user=None):
124124
:rtype: tuple
125125
"""
126126
result_id = body.get("result_id") or body.get("resultId")
127-
run_id = body.get("run_id") or body.get("resultId")
127+
run_id = body.get("run_id") or body.get("runId")
128128
result = Result.query.get(result_id)
129129
if result and not project_has_user(result.project, user):
130130
return "Forbidden", 403

0 commit comments

Comments
 (0)