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
Nicolas6112cc1c2c64
diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex fad8fa3c6..7a342143c 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, "crawl");+ const { success, team_id, error, status } = await authenticateUser(req, res, "scrape");if (!success) {return res.status(status).json({ error });}