update logic

Co-authored-by: jj <log@riseup.net>
This commit is contained in:
lostdusty 2024-12-30 12:46:24 -03:00 committed by GitHub
parent a1abf723f9
commit 2660cafd72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}