diff --git a/api/src/core/api.js b/api/src/core/api.js index 364764c0..f7a04fb3 100644 --- a/api/src/core/api.js +++ b/api/src/core/api.js @@ -67,7 +67,7 @@ export const runAPI = async (express, app, __dirname, isPrimary = true) => { limit: env.rateLimitWindow } }); - return res.status(status).json(body); + return res.status(429).json(body); }; const keyGenerator = (req) => hashHmac(getIP(req), 'rate').toString('base64url');