mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 00:55:48 +01:00
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:
parent
0197d3354a
commit
81dea75eb7
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ export const paramDef = {
|
||||||
uniqueItems: true,
|
uniqueItems: true,
|
||||||
minItems: 2,
|
minItems: 2,
|
||||||
maxItems: 10,
|
maxItems: 10,
|
||||||
items: { type: 'string', minLength: 1, maxLength: 50 },
|
items: { type: 'string', minLength: 1, maxLength: 150 },
|
||||||
},
|
},
|
||||||
multiple: { type: 'boolean' },
|
multiple: { type: 'boolean' },
|
||||||
expiresAt: { type: 'integer', nullable: true },
|
expiresAt: { type: 'integer', nullable: true },
|
||||||
|
|
Loading…
Reference in a new issue