Update scrape.ts

This commit is contained in:
Nicolas 2024-07-30 12:42:12 -04:00
parent d1a3df6d08
commit fd2452ec9c
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ export async function scrapeController(req: Request, res: Response) {
} catch (error) {
console.error(error);
earlyReturn = true;
return res.status(402).json({ error: "Error checking team credits. Please contact hello@firecrawl.com for help." });
return res.status(500).json({ error: "Error checking team credits. Please contact hello@firecrawl.com for help." });
}
};