Skip to content

Commit

Permalink
[CRN] fix short description server validation rules (#4362)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaguimaraes authored Aug 29, 2024
1 parent 333e119 commit 1c85b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/crn-server/src/validation/research-output.validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const researchOutputPostRequestValidationSchema: JSONSchemaType<ResearchOutputPo
},
description: { type: 'string', nullable: true },
descriptionMD: { type: 'string' },
shortDescription: { type: 'string' },
shortDescription: { type: 'string', nullable: true, maxLength: 250 },
methods: {
type: 'array',
items: { type: 'string' },
Expand Down Expand Up @@ -213,7 +213,7 @@ const researchOutputPutRequestValidationSchema: JSONSchemaType<ResearchOutputPut
},
description: { type: 'string', nullable: true },
descriptionMD: { type: 'string' },
shortDescription: { type: 'string' },
shortDescription: { type: 'string', nullable: true, maxLength: 250 },
methods: {
type: 'array',
items: { type: 'string' },
Expand Down

0 comments on commit 1c85b20

Please sign in to comment.