summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--api/assets/schemas.json3
-rw-r--r--api/src/routes/users/@me/index.ts1
2 files changed, 4 insertions, 0 deletions
diff --git a/api/assets/schemas.json b/api/assets/schemas.json
index ca42e676..9c312123 100644
--- a/api/assets/schemas.json
+++ b/api/assets/schemas.json
@@ -12499,6 +12499,9 @@
                 "maxLength": 100,
                 "type": "string"
             },
+            "discriminator": {
+                "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