From fd2452ec9c6251471f85c698ef7afb0368403381 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 30 Jul 2024 12:42:12 -0400 Subject: [PATCH] Update scrape.ts --- apps/api/src/controllers/scrape.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/controllers/scrape.ts b/apps/api/src/controllers/scrape.ts index 4987f8f..267fdb5 100644 --- a/apps/api/src/controllers/scrape.ts +++ b/apps/api/src/controllers/scrape.ts @@ -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." }); } };