fix: 🐛 Make sure polls expires_at is optional

This commit is contained in:
Jesse Wierzbinski 2024-08-28 18:43:51 +02:00
parent 929fe11bf6
commit 8f807cced6
No known key found for this signature in database

View file

@ -29,7 +29,7 @@ Note that there is no `question` field: the question should be included in the `
<Property name="multiple_choice" type="boolean" required="true"> <Property name="multiple_choice" type="boolean" required="true">
Whether the poll allows multiple votes to be cast for different options. Whether the poll allows multiple votes to be cast for different options.
</Property> </Property>
<Property name="expires_at" type="ISO 8601" typeLink="/types#iso8601" required="false"> <Property name="expires_at" type="ISO 8601" typeLink="/types#iso8601">
ISO 8601 timestamp of when the poll ends and no more votes can be cast. If not present, the poll does not expire. ISO 8601 timestamp of when the poll ends and no more votes can be cast. If not present, the poll does not expire.
</Property> </Property>
</Properties> </Properties>