summary refs log tree commit diff
path: root/api/assets
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-13 19:28:17 +0200
committerGitHub <noreply@github.com>2021-09-13 19:28:17 +0200
commit12fbba82bac59295d572b808976269d9f07919c6 (patch)
treec3b2610bd083c3dab2289b3c4cc56f95218c3505 /api/assets
parentMerge pull request #357 from AlTech98/user-update (diff)
parentFix #356 (diff)
downloadserver-12fbba82bac59295d572b808976269d9f07919c6.tar.xz
Merge pull request #358 from AlTech98/fix-356
Fix #356
Diffstat (limited to 'api/assets')
-rw-r--r--api/assets/schemas.json35
1 files changed, 28 insertions, 7 deletions
diff --git a/api/assets/schemas.json b/api/assets/schemas.json
index 94aa0660..3f760c35 100644
--- a/api/assets/schemas.json
+++ b/api/assets/schemas.json
@@ -2548,7 +2548,10 @@
                 "type": "string"
             },
             "system_channel_id": {
-                "type": "string"
+                "type": [
+                    "null",
+                    "string"
+                ]
             },
             "rules_channel_id": {
                 "type": "string"
@@ -2802,13 +2805,22 @@
         "type": "object",
         "properties": {
             "banner": {
-                "type": "string"
+                "type": [
+                    "null",
+                    "string"
+                ]
             },
             "splash": {
-                "type": "string"
+                "type": [
+                    "null",
+                    "string"
+                ]
             },
             "description": {
-                "type": "string"
+                "type": [
+                    "null",
+                    "string"
+                ]
             },
             "features": {
                 "type": "array",
@@ -2829,13 +2841,19 @@
                 "type": "integer"
             },
             "public_updates_channel_id": {
-                "type": "string"
+                "type": [
+                    "null",
+                    "string"
+                ]
             },
             "afk_timeout": {
                 "type": "integer"
             },
             "afk_channel_id": {
-                "type": "string"
+                "type": [
+                    "null",
+                    "string"
+                ]
             },
             "preferred_locale": {
                 "type": "string"
@@ -2854,7 +2872,10 @@
                 "type": "string"
             },
             "system_channel_id": {
-                "type": "string"
+                "type": [
+                    "null",
+                    "string"
+                ]
             },
             "rules_channel_id": {
                 "type": "string"