Skip to content

Commit

Permalink
Merge pull request #27 from tidbcloud/fix/chat2query-api
Browse files Browse the repository at this point in the history
fix: fix job-status api
  • Loading branch information
baurine authored Jun 27, 2024
2 parents 8443543 + 15710d6 commit 7366a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify/edge-functions/job-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7366a4e

Please sign in to comment.