summary refs log tree commit diff
path: root/assets/schemas.json
diff options
context:
space:
mode:
Diffstat (limited to 'assets/schemas.json')
-rw-r--r--assets/schemas.json18
1 files changed, 16 insertions, 2 deletions
diff --git a/assets/schemas.json b/assets/schemas.json

index 2530028be..77918b905 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -5714,7 +5714,14 @@ ] }, "poll": { - "$ref": "#/definitions/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/definitions/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "enforce_nonce": { "type": "boolean" @@ -5858,7 +5865,14 @@ ] }, "poll": { - "$ref": "#/definitions/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/definitions/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "flags": { "type": "integer"