diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-17 23:42:40 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-17 23:42:40 +0200 |
commit | c20f4b4ef539a44c8e091815c5603acbf0fa8d04 (patch) | |
tree | 49e32c077cec3734d939ec4d4bb26980239f593a /api/src/routes/users | |
parent | :bug: fix vanity url (diff) | |
download | server-c20f4b4ef539a44c8e091815c5603acbf0fa8d04.tar.xz |
:bug: fix body parse treating null not as undefined (except for icons/avatars)
Diffstat (limited to 'api/src/routes/users')
-rw-r--r-- | api/src/routes/users/@me/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/users/@me/index.ts b/api/src/routes/users/@me/index.ts index c0002d79..da2f3348 100644 --- a/api/src/routes/users/@me/index.ts +++ b/api/src/routes/users/@me/index.ts @@ -16,7 +16,7 @@ export interface UserModifySchema { * @maxLength 1024 */ bio?: string; - accent_color?: number | null; + accent_color?: number; banner?: string | null; password?: string; new_password?: string; |