diff --git a/netlify/edge-functions/job-status.ts b/netlify/edge-functions/job-status.ts index 50143d0..04a00e9 100644 --- a/netlify/edge-functions/job-status.ts +++ b/netlify/edge-functions/job-status.ts @@ -29,7 +29,7 @@ export default async (req: Request, _context: Context) => { } let statusCode = 200 - const res = await fetch(url, fetchOptions).then((res) => { + const res = await fetch(jobStatusUrl, fetchOptions).then((res) => { console.log(res.status) statusCode = res.status return res.json()