Commit 52cc7abe authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix urls

parent 07a7ff6d
Pipeline #41292 failed with stage
in 1 minute and 2 seconds
......@@ -570,7 +570,7 @@ class AllgoAio:
headers = prepare_headers(request)
headers["Accept"] = "application/json"
async with self.django_request("GET", "/jobs/%d/" % job_id,
async with self.django_request("GET", "/jobs/%d" % job_id,
headers=headers, allow_redirects=False) as rep:
if rep.status != 200:
# FIXME: django should be able to return 401 directly
......@@ -681,7 +681,7 @@ class AllgoAio:
for job_id in job_ids:
headers = prepare_headers(request)
headers["Accept"] = "application/json"
async with self.django_request("GET", "/jobs/%d/" % job_id,
async with self.django_request("GET", "/jobs/%d" % job_id,
headers=headers, allow_redirects=False) as rep:
if rep.status == 200:
js = await rep.json()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment