Skip to content

Commit

Permalink
MAN-172: Update contact details
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcphee77 committed Feb 4, 2025
1 parent b9790d8 commit ef5b68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/validationUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface ValidationSpec {
[index: string]: ErrorChecks
}

export const isEmail = (string: string) => /[a-z0-9]+@[a-z]+\.[a-z]{2,3}/.test(string)
export const isEmail = (string: string) => /[a-z0-9]*@[a-z]*\.[a-z]{2,3}/.test(string)
export const isNotEmpty = (args: any[]) => {
return !!args[0] && args[0] !== undefined
}
Expand Down

0 comments on commit ef5b68a

Please sign in to comment.