From 9c40e0cc8d3a27abc834274de9c8ff94508f6d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=B3ricz=20Gerg=C5=91?= Date: Sat, 25 Jan 2025 08:27:59 +0100 Subject: [PATCH] fix(v1): test override for team --- apps/api/src/routes/v1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.ts index b0f16e11..6fcb3589 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: