Skip to content

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

Update map.ts

Nicolas86b047770806
diff --git a/apps/api/src/controllers/v1/map.ts b/apps/api/src/controllers/v1/map.ts
index 90e541d82..32294a0f1 100644
--- a/apps/api/src/controllers/v1/map.ts
+++ b/apps/api/src/controllers/v1/map.ts
@@ -30,8 +30,8 @@ export async function mapController(
req.body = mapRequestSchema.parse(req.body);
- const limit = req.body.limit ?? 5000;
-
+ const limit : number = req.body.limit ?? 5000;
+
const id = uuidv4();
let links: string[] = [req.body.url];