diff options
author | Featyre <twooter.0g179@simplelogin.co> | 2022-01-24 22:59:14 +0800 |
---|---|---|
committer | Featyre <twooter.0g179@simplelogin.co> | 2022-01-24 22:59:14 +0800 |
commit | cc492f07dcc2be60ef6396c690028da4bcea546b (patch) | |
tree | eb4ec0989289cb4e3cbaa2ded5f1c4db8ff42561 /api/src/util | |
parent | Prep for Category db work (diff) | |
download | server-cc492f07dcc2be60ef6396c690028da4bcea546b.tar.xz |
Partnet + Discover fix and join
Diffstat (limited to 'api/src/util')
-rw-r--r-- | api/src/util/handlers/route.ts | 2 |
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); |