Skip to content

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

fix(v1): test override for team

Móricz Gergő9c40e0cc8d3a
diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.ts
index b0f16e111..6fcb35893 100644
--- a/apps/api/src/routes/v1.ts
+++ b/apps/api/src/routes/v1.ts
@@ -58,7 +58,7 @@ function checkCreditsMiddleware(
path: req.path
}
);
- if (!res.headersSent) {
+ if (!res.headersSent && req.auth.team_id !== "8c528896-7882-4587-a4b6-768b721b0b53") {
return res.status(402).json({
success: false,
error: