Skip to content

Commit

Permalink
feature(contact): make email optional for contacts of type old
Browse files Browse the repository at this point in the history
  • Loading branch information
LuukBlankenstijn committed Feb 14, 2025
1 parent c3a068d commit cdd279d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/ContactController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class ContactController extends Controller {
const emailOptionalFunctions = [
ContactFunction.SIGNATORY_AUTHORIZED,
ContactFunction.ASSISTING,
ContactFunction.OLD,
];
await validate([
body('gender').isIn(Object.values(Gender)),
Expand Down

0 comments on commit cdd279d

Please sign in to comment.