Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitcoder authored Oct 30, 2024
1 parent 53b62e1 commit cee516d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ app.get('/job-status', async (req, res) => {
if (job) {
res.status(200).json({ "status_code": 200, ...job });
} else {
res.status(404).json({ error: "Job not found, maybe its still processing?", "status_code": 404 });
res.status(200).json({ error: "Job not found, maybe its still processing?", "status_code": 404 });
}
} catch (error) {
console.error("Error fetching job status:", error);
Expand Down

0 comments on commit cee516d

Please sign in to comment.