diff --git a/packages/backend/src/server/api/endpoints/notes/create.ts b/packages/backend/src/server/api/endpoints/notes/create.ts index 72e61e9ed..9a6a5293b 100644 --- a/packages/backend/src/server/api/endpoints/notes/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/create.ts @@ -140,9 +140,9 @@ export const paramDef = { choices: { type: "array", uniqueItems: false, - minItems: 0, + minItems: 1, maxItems: 20, - items: { type: "string", minLength: 0, maxLength: 100 }, + items: { type: "string", minLength: 1, maxLength: 100 }, }, multiple: { type: "boolean", default: false }, expiresAt: { type: "integer", nullable: true },