Skip to content

Commit

Permalink
fix: typing 3
Browse files Browse the repository at this point in the history
  • Loading branch information
reacto11mecha committed Jun 16, 2024
1 parent a9eef8b commit 89e770a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/auth/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const authConfig = {
email: session.user.email,
});

session.user.role = user.role;
session.user.verifiedAt = user.verifiedAt;
session.user.role = user!.role;
session.user.verifiedAt = user!.verifiedAt;

return session;
},
Expand Down

0 comments on commit 89e770a

Please sign in to comment.