summary refs log tree commit diff
path: root/api/src/routes/users/@me/index.ts
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-18 08:03:52 +0200
committerGitHub <noreply@github.com>2021-09-18 08:03:52 +0200
commit2580f6b89116ee69de1f6485eef73563a26414cd (patch)
treebd90b3af6318613d54644b828e3ff8cb59811a78 /api/src/routes/users/@me/index.ts
parentFix icon, owner_id change and channel deletion for group DMs (diff)
parent:bug: fix body parse treating null not as undefined (except for icons/avatars) (diff)
downloadserver-2580f6b89116ee69de1f6485eef73563a26414cd.tar.xz
Merge branch 'fosscord:master' into fix-dm
Diffstat (limited to 'api/src/routes/users/@me/index.ts')
-rw-r--r--api/src/routes/users/@me/index.ts2
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;