to do: session verification middleware

This commit is contained in:
Mikayla Dobson
2022-07-17 11:59:32 -05:00
parent af3ea629d6
commit 3d43d95674
4 changed files with 5 additions and 19 deletions

View File

@@ -26,8 +26,6 @@ async function LoginService(email, password) {
let fullUserProfile = await client.query("SELECT * FROM users WHERE email = ($1)", [email]);
console.log({session, userProfile: fullUserProfile.rows[0]});
return {
session: session,
userProfile: fullUserProfile.rows[0]