Skip to content

Commit 1bb6a81

Browse files
authored
Merge pull request #2365 from bcgov/fix/putSchoolSchema
vendor source system code nullable
2 parents b59591d + 160c949 commit 1bb6a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/validations/schools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const putSchoolSchema = object({
6363
closedDate: date().nullable(),
6464
canIssueCertificates: boolean().nullable(),
6565
canIssueTranscripts: boolean().nullable(),
66-
vendorSourceSystemCode: string().max(10),
66+
vendorSourceSystemCode: string().max(10).nullable(),
6767
contacts: array().of(schoolContactSchema),
6868
addresses: array().of(schoolAddressSchema.shape({
6969
schoolAddressId: string().nullable(),

0 commit comments

Comments
 (0)