small bug fix

This commit is contained in:
Skillz
2020-08-16 17:03:39 -04:00
parent f0fb055dda
commit 1f4ef4071f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ name: Discordeno
description: >-
Discord Deno TypeScript API library wrapper(Officially vetted library by
Discord Team) https://discordeno.netlify.app
version: 7.4.1
version: 7.4.2
stable: true
files:
- ./src/**/*
+1 -1
View File
@@ -195,7 +195,7 @@ async function runMethod(
handleStatusCode(response);
// Sometimes Discord returns an empty 204 response that can't be made to JSON.
if (response.status === 204) resolve();
if (response.status === 204) return resolve();
const json = await response.json();
if (