summary refs log tree commit diff
path: root/api/src/util/handlers/route.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-02-17 18:57:04 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-02-17 18:57:04 +1100
commit34f84fc0eaae026b9b29b6423802bf4ccf8248d0 (patch)
treee016b3663da320ce1f5e537fa4ae1fc10e31a02e /api/src/util/handlers/route.ts
parentDiscord.js gateway connection when connecting to voice will close 4002 decode... (diff)
parentMerge pull request #608 from Featyre/master (diff)
downloadserver-34f84fc0eaae026b9b29b6423802bf4ccf8248d0.tar.xz
Merge branch 'master' into maddyrtc
Diffstat (limited to 'api/src/util/handlers/route.ts')
-rw-r--r--api/src/util/handlers/route.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/util/handlers/route.ts b/api/src/util/handlers/route.ts

index 05658ad3..0048c4dd 100644 --- a/api/src/util/handlers/route.ts +++ b/api/src/util/handlers/route.ts
@@ -73,7 +73,7 @@ const normalizeBody = (body: any = {}) => { } else { for (const [key, value] of Object.entries(object)) { if (value == null) { - if (key === "icon" || key === "avatar" || key === "banner" || key === "splash") continue; + if (key === "icon" || key === "avatar" || key === "banner" || key === "splash" || key === "discovery_splash") continue; delete object[key]; } else if (typeof value === "object") { normalizeObject(value);