Skip to content

Commit

Permalink
chore: added missing properties defined in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ZorbaDimatteo committed Apr 22, 2024
1 parent 1c99c09 commit b0fdacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/pn-pa-webapp/src/redux/auth/reducers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const organizationMatcher: yup.SchemaOf<Organization> = yup.object({
description: yup.string().notRequired(),
})
.notRequired(),
ipaCode: yup.string().notRequired()
});

const userDataMatcher = yup
Expand Down
1 change: 1 addition & 0 deletions packages/pn-pa-webapp/src/redux/auth/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface Organization {
subUnitCode?: string;
subUnitType?: string;
aooParent?: string;
ipaCode?: string;
rootParent?: {
id?: string;
description?: string;
Expand Down

0 comments on commit b0fdacf

Please sign in to comment.