From ee1b2b68e309f229755d3e66f03ff498ce691617 Mon Sep 17 00:00:00 2001 From: limepotato Date: Sun, 18 Aug 2024 18:16:58 -0600 Subject: [PATCH] whoops --- packages/backend/src/server/api/endpoints/notes/create.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 },