fix(v1): test override for team

This commit is contained in:
Móricz Gergő 2025-01-25 08:27:59 +01:00
parent afea2eeaac
commit 9c40e0cc8d

View File

@ -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: