mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
fix(rest/queue): logical error in response status handling (#549)
This commit is contained in:
@@ -62,7 +62,7 @@ export async function processQueue(id: string) {
|
||||
response.headers,
|
||||
);
|
||||
|
||||
if (response.status < 200 && response.status >= 400) {
|
||||
if (response.status < 200 || response.status >= 400) {
|
||||
restCache.eventHandlers.error(
|
||||
"httpError",
|
||||
queuedRequest.payload,
|
||||
|
||||
Reference in New Issue
Block a user