diff --git a/src/server/api/endpoints/admin/emoji/add.ts b/src/server/api/endpoints/admin/emoji/add.ts index 07149fce65..4f9a84e67e 100644 --- a/src/server/api/endpoints/admin/emoji/add.ts +++ b/src/server/api/endpoints/admin/emoji/add.ts @@ -12,15 +12,15 @@ export const meta = { params: { name: { - validator: $.str + validator: $.str.min(1) }, url: { - validator: $.str + validator: $.str.min(1) }, aliases: { - validator: $.arr($.str).optional, + validator: $.arr($.str.min(1)).optional, default: [] as string[] } }