summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-07 11:02:13 +0300
committerBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-07 11:02:13 +0300
commit34db2d65ee962f295f452ff6b04b8a65a60bacbf (patch)
treea86e5bd6096e7ee6b1dbd89bc7229f68d3eff554 /src
parentbug fix (diff)
downloadserver-34db2d65ee962f295f452ff6b04b8a65a60bacbf.tar.xz
added accent_color to UserModifySchema
Diffstat (limited to 'src')
-rw-r--r--src/schema/User.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/schema/User.ts b/src/schema/User.ts
index d5a7b909..ae213ee3 100644
--- a/src/schema/User.ts
+++ b/src/schema/User.ts
@@ -3,11 +3,13 @@ import { Length } from "../util/instanceOf";
 export const UserModifySchema = {
 	$username: new Length(String, 2, 32),
 	$avatar: String,
-	$bio: new Length(String, 0, 190)
+	$bio: new Length(String, 0, 190),
+	$accent_color: Number
 };
 
 export interface UserModifySchema {
 	username?: string;
 	avatar?: string | null;
 	bio?: string;
+	accent_color?: number | null;
 }