fix(v1): test override for team
This commit is contained in:
@@ -58,7 +58,7 @@ function checkCreditsMiddleware(
|
|||||||
path: req.path
|
path: req.path
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
if (!res.headersSent) {
|
if (!res.headersSent && req.auth.team_id !== "8c528896-7882-4587-a4b6-768b721b0b53") {
|
||||||
return res.status(402).json({
|
return res.status(402).json({
|
||||||
success: false,
|
success: false,
|
||||||
error:
|
error:
|
||||||
|
|||||||
Reference in New Issue
Block a user