Skip to content

Commit

Permalink
update reportValidation with year and options
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocio De Santiago authored and Rocio De Santiago committed Jan 23, 2025
1 parent dc9085b commit f1953c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/app-api/utils/reportValidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ const reportValidateSchema = object().shape({
name: string().notRequired(),
type: mixed<ReportType>().oneOf(Object.values(ReportType)).required(),
title: string().required(),
year: number().notRequired(),
options: object().notRequired(),
pages: pagesSchema,
measureLookup: measureLookupSchema,
measureTemplates: measureTemplatesSchema,
Expand Down

0 comments on commit f1953c4

Please sign in to comment.