summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/assets/schemas.json5
-rw-r--r--api/src/routes/users/@me/index.ts1
2 files changed, 6 insertions, 0 deletions
diff --git a/api/assets/schemas.json b/api/assets/schemas.json
index ca42e676..f7efb888 100644
--- a/api/assets/schemas.json
+++ b/api/assets/schemas.json
@@ -12499,6 +12499,11 @@
                 "maxLength": 100,
                 "type": "string"
             },
+            "discriminator": {
+                "minLength": 4,
+                "maxLength": 4,
+                "type": "string"
+            },
             "avatar": {
                 "type": [
                     "null",
diff --git a/api/src/routes/users/@me/index.ts b/api/src/routes/users/@me/index.ts
index 1af413c4..7fc20457 100644
--- a/api/src/routes/users/@me/index.ts
+++ b/api/src/routes/users/@me/index.ts
@@ -11,6 +11,7 @@ export interface UserModifySchema {
 	 * @maxLength 100
 	 */
 	username?: string;
+	discriminator?: string;
 	avatar?: string | null;
 	/**
 	 * @maxLength 1024