summary refs log tree commit diff
path: root/api/src/util
diff options
context:
space:
mode:
authorFeatyre <twooter.0g179@simplelogin.co>2022-01-24 22:59:14 +0800
committerFeatyre <twooter.0g179@simplelogin.co>2022-01-24 22:59:14 +0800
commit858a885b0c71507fc6e9b279f01237bff423843c (patch)
tree62f67c35311f7b1277b2c4d2983bcb30ce867396 /api/src/util
parentPrep for Category db work (diff)
downloadserver-858a885b0c71507fc6e9b279f01237bff423843c.tar.xz
Partnet + Discover fix and join
Diffstat (limited to 'api/src/util')
-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);