Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update index.ts

Nicolas3e9e24aaf137
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index db7f45c59..b586cd919 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -164,7 +164,7 @@ app.post("/v0/scrape", async (req, res) => {
app.post("/v0/crawl", async (req, res) => {
try {
- 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 });
}