summary refs log tree commit diff
path: root/api/assets
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-13 19:25:44 +0200
committerAlTech98 <altech123159@gmail.com>2021-09-13 19:25:44 +0200
commit7cdcb82ecdf51b2dab5808a89ed50b96af0a60cc (patch)
treec3b2610bd083c3dab2289b3c4cc56f95218c3505 /api/assets
parentMerge pull request #357 from AlTech98/user-update (diff)
downloadserver-7cdcb82ecdf51b2dab5808a89ed50b96af0a60cc.tar.xz
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"