Skip to content

Commit

Permalink
update logic
Browse files Browse the repository at this point in the history
Co-authored-by: jj <[email protected]>
  • Loading branch information
lostdusty and dumbmoron authored Dec 30, 2024
1 parent a1abf72 commit 2660caf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/src/processing/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2660caf

Please sign in to comment.