Merge pull request #405 from omnivore-app/feature/label-max-length

Set label name max length = 64 char
This commit is contained in:
Jackson Harper 2022-04-12 11:14:20 -07:00 committed by GitHub
commit 6c5e88cf12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {