summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-03 20:58:44 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-03 21:03:49 +1000
commitf7b5ae4bbc479e43c7a078198a0dfee43b14f827 (patch)
tree33dc9cf5121c24137e72abdddf536a5c72369b5b
parentMerge branch 'fix/channelPermissionOverwriteSchema' into feat/latestWebClient (diff)
downloadserver-f7b5ae4bbc479e43c7a078198a0dfee43b14f827.tar.xz
Merge branch 'fix/channelPermissionOverwriteSchema' into feat/latestWebClient
-rw-r--r--api/assets/schemas.json9
-rw-r--r--api/src/routes/guilds/index.ts2
2 files changed, 4 insertions, 7 deletions
diff --git a/api/assets/schemas.json b/api/assets/schemas.json
index a930938f..4464304b 100644
--- a/api/assets/schemas.json
+++ b/api/assets/schemas.json
@@ -6505,9 +6505,6 @@
             }
         },
         "additionalProperties": false,
-        "required": [
-            "name"
-        ],
         "definitions": {
             "Embed": {
                 "type": "object",
@@ -6867,6 +6864,9 @@
             "preferred_locale": {
                 "type": "string"
             },
+            "premium_progress_bar_enabled": {
+                "type": "boolean"
+            },
             "name": {
                 "maxLength": 100,
                 "type": "string"
@@ -6891,9 +6891,6 @@
             }
         },
         "additionalProperties": false,
-        "required": [
-            "name"
-        ],
         "definitions": {
             "Embed": {
                 "type": "object",
diff --git a/api/src/routes/guilds/index.ts b/api/src/routes/guilds/index.ts
index 10721413..489dea49 100644
--- a/api/src/routes/guilds/index.ts
+++ b/api/src/routes/guilds/index.ts
@@ -9,7 +9,7 @@ export interface GuildCreateSchema {
 	/**
 	 * @maxLength 100
 	 */
-	name: string;
+	name?: string;
 	region?: string;
 	icon?: string | null;
 	channels?: ChannelModifySchema[];