Skip to content

Commit da84c10

Browse files
committed
fix formatting
1 parent 7625732 commit da84c10

File tree

7 files changed

+223
-230
lines changed

7 files changed

+223
-230
lines changed

src/api/users.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ function generateRandomSHA256Hash(): string {
4242

4343
// notely-dev-1: is this still used?
4444
export function isValidEmail(email: string): boolean {
45-
const emailExpression = /^([a-zA-Z0-9_])+(([a-zA-Z0-9])+)+([a-zA-Z0-9]{2,4})+$/;
45+
const emailExpression =
46+
/^([a-zA-Z0-9_])+(([a-zA-Z0-9])+)+([a-zA-Z0-9]{2,4})+$/;
4647

4748
return emailExpression.test(email);
4849
}

0 commit comments

Comments
 (0)