From bb665a704b5ff7bad49313af5eec78d8b99a6722 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Tue, 12 Apr 2022 12:08:02 +0800 Subject: [PATCH] make label name <= 64 char length --- packages/api/src/schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/src/schema.ts b/packages/api/src/schema.ts index c31bf5838..109624af6 100755 --- a/packages/api/src/schema.ts +++ b/packages/api/src/schema.ts @@ -1272,9 +1272,9 @@ const schema = gql` union LabelsResult = LabelsSuccess | LabelsError input CreateLabelInput { - name: String! + name: String! @sanitize(maxLength: 64) color: String! - description: String + description: String @sanitize(maxLength: 100) } type CreateLabelSuccess {