From 15710d6239f4299bfbc9933e315ec230fe341d2c Mon Sep 17 00:00:00 2001 From: baurine <2008.hbl@gmail.com> Date: Thu, 27 Jun 2024 15:12:21 +0800 Subject: [PATCH] fix: fix job-status api --- netlify/edge-functions/job-status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()