Skip to content

Commit 59dd1a1

Browse files
committed
Fix mail prefix condition
1 parent 855d404 commit 59dd1a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/env-variable-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const formatEmail = (email: string | undefined): typeof email => {
2424
return email;
2525
}
2626

27-
if (!email.includes(" ") && !email.includes("@")) {
27+
if (email.includes(" ") || !email.includes("@")) {
2828
return email;
2929
}
3030

0 commit comments

Comments
 (0)