summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 04:06:07 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 04:06:07 +0200
commit5f3cea845d56ae49ab224df044eb13867b1afae4 (patch)
treeebf0d58c9b9eb8396f285ed758a98b507164c8e9 /src/Server.ts
parent:art: proper error message body parser (diff)
downloadserver-5f3cea845d56ae49ab224df044eb13867b1afae4.tar.xz
:sparkles: test client
Diffstat (limited to '')
-rw-r--r--src/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 3bc346e3..19a0fc5f 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -90,7 +90,7 @@ export class DiscordServer extends Server { ...req.headers, }, }); - const buffer = await response.text(); + const buffer = await response.buffer(); response.headers.forEach((value, name) => { if (