Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dqnykamp committed Aug 20, 2024
1 parent edd902a commit 05489b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ passport.use(
passport.use(new AnonymIdStrategy());

// eslint-disable-next-line @typescript-eslint/no-explicit-any
passport.serializeUser<any, any>(async (_req, user: any, done) => {
passport.serializeUser<any, any>(async (req, user: any, done) => {
if (user.provider === "magiclink") {
const email: string = user.email;
const fromAnonymous: number = user.fromAnonymous;
Expand Down

0 comments on commit 05489b1

Please sign in to comment.