🐛 fix body parse treating null not as undefined (except for icons/avatars)

This commit is contained in:
Flam3rboy
2021-09-17 23:42:40 +02:00
parent 4003fef534
commit 859fdd679b
10 changed files with 88 additions and 76 deletions
+1 -1
View File
@@ -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;