upd: higher character limit for poll options

Limited to 150 to account for {}, "" and commas in DB column

Closes #297
This commit is contained in:
Marie 2024-01-02 12:39:47 +01:00
parent 0197d3354a
commit 81dea75eb7
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ export const paramDef = {
uniqueItems: true,
minItems: 2,
maxItems: 10,
items: { type: 'string', minLength: 1, maxLength: 50 },
items: { type: 'string', minLength: 1, maxLength: 150 },
},
multiple: { type: 'boolean' },
expiresAt: { type: 'integer', nullable: true },