Skip to content

Commit 869207e

Browse files
committed
Refactor dbQueries to include is_email_verified field in queryAccountInfoByEmail function
1 parent da552ed commit 869207e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/dbQueries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function queryAccountInfoByEmail(
1111
): Promise<Account | null> {
1212
try {
1313
const result = await query(
14-
"SELECT id,password FROM accounts WHERE email = $1",
14+
"SELECT id,password,is_email_verified FROM accounts WHERE email = $1",
1515
[email]
1616
);
1717

0 commit comments

Comments
 (0)