Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Update index.ts
Nicolas417921ea339f
diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex 0663c5cd9..9358672ad 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -87,7 +87,7 @@ async function authenticateUser(req, res, mode?: string): Promise<{ success: booapp.post("/v0/scrape", async (req, res) => {try {// make sure to authenticate user first, Bearer <token>- const { success, team_id, error, status } = await authenticateUser(req, res, "scrape");+ const { success, team_id, error, status } = await authenticateUser(req, res, "crawl");if (!success) {return res.status(status).json({ error });}