make label name <= 64 char length

This commit is contained in:
Hongbo Wu
2022-04-12 12:08:02 +08:00
parent cc95574d5c
commit bb665a704b

View File

@ -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 {