Skip to content

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

Update agent-signup.ts

Nicolasab609172c790
diff --git a/apps/api/src/controllers/v2/agent-signup.ts b/apps/api/src/controllers/v2/agent-signup.ts
index d172b5739..17cf4bed0 100644
--- a/apps/api/src/controllers/v2/agent-signup.ts
+++ b/apps/api/src/controllers/v2/agent-signup.ts
@@ -113,10 +113,8 @@ const agentSignupSchema = z.object({
),
agent_name: z.string().min(1).max(100),
accept_terms: z.literal(true, {
- errorMap: () => ({
- message:
- "You must accept the terms here. https://www.firecrawl.dev/terms-of-service",
- }),
+ message:
+ "You must accept the terms here. https://www.firecrawl.dev/terms-of-service",
}),
});