From caea0f0376a86919212d13da99016464d16af678 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Thu, 14 Feb 2019 16:30:20 +0900 Subject: [PATCH] Change minimum allowed maxNoteTextLength to 0 (#4256) --- src/server/api/endpoints/admin/update-meta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/admin/update-meta.ts b/src/server/api/endpoints/admin/update-meta.ts index 5e893c7d3b..da2ee36927 100644 --- a/src/server/api/endpoints/admin/update-meta.ts +++ b/src/server/api/endpoints/admin/update-meta.ts @@ -82,7 +82,7 @@ export const meta = { }, maxNoteTextLength: { - validator: $.optional.num.min(1), + validator: $.optional.num.min(0), desc: { 'ja-JP': '投稿の最大文字数' }