Skip to content

Commit

Permalink
Refactor dbQueries to include is_email_verified field in queryAccount…
Browse files Browse the repository at this point in the history
…InfoByEmail function
  • Loading branch information
Wassim-Rached committed Oct 18, 2024
1 parent da552ed commit 869207e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/dbQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function queryAccountInfoByEmail(
): Promise<Account | null> {
try {
const result = await query(
"SELECT id,password FROM accounts WHERE email = $1",
"SELECT id,password,is_email_verified FROM accounts WHERE email = $1",
[email]
);

Expand Down

0 comments on commit 869207e

Please sign in to comment.