diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-18 00:19:53 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-18 00:19:53 +0200 |
commit | 24896d0c23675f40139ab86617aba81c8a6508ff (patch) | |
tree | bdce3d68f4d89279b8340008bc13a895ba4912d3 /api/src/util | |
parent | :bug: fix body parse treating null not as undefined (except for icons/avatars) (diff) | |
download | server-24896d0c23675f40139ab86617aba81c8a6508ff.tar.xz |
:bug: fix guild create icon
Diffstat (limited to 'api/src/util')
-rw-r--r-- | api/src/util/cdn.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/util/cdn.ts b/api/src/util/cdn.ts index 88b0ea0d..8c6e9ac9 100644 --- a/api/src/util/cdn.ts +++ b/api/src/util/cdn.ts @@ -42,9 +42,9 @@ export async function handleFile(path: string, body?: string): Promise<string | export async function deleteFile(path: string) { const response = await fetch(`${Config.get().cdn.endpoint || "http://localhost:3003"}${path}`, { headers: { - signature: Config.get().security.requestSignature, + signature: Config.get().security.requestSignature }, - method: "DELETE", + method: "DELETE" }); const result = await response.json(); |