Skip to content

Commit

Permalink
Add trailing slash to job status endpoint
Browse files Browse the repository at this point in the history
Prod and QA were 308 redirecting to the trailing slash already. Dev forwarded with a 308 with curl or in a browser, but timed out silently in the codebase
  • Loading branch information
ColeDCrawford committed Dec 10, 2024
1 parent f3c3c58 commit f7485e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IIIFingest/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def jobStatus(
job_id: str,
endpoint: str = "https://mps-admin-qa.lib.harvard.edu/admin/ingest/jobstatus/",
) -> request:
url = f"{endpoint}{job_id}"
url = f"{endpoint}{job_id}/"
r = requests.get(url)
return r

Expand Down

0 comments on commit f7485e0

Please sign in to comment.