diff --git a/api/src/processing/request.js b/api/src/processing/request.js index 12cee3d8..da48bc48 100644 --- a/api/src/processing/request.js +++ b/api/src/processing/request.js @@ -23,9 +23,7 @@ export function createResponse(responseType, responseData) { if (responseType === "error") { status = 400; - } - - if (responseType === "rate-limit") { + } else if (responseType === "rate-limit") { status = 429; }