Skip to content

Duplicate code in lib/auth/auth.ts #12

@tomn-git

Description

@tomn-git

Hi,
Duplicate code in src/lib/auth/auth.ts
line 50-52,
if (token?.userId) { (session.user as CustomUser).id = token.userId as string; }

lines 56-..
if (token?.userId) { (session.user as CustomUser).id = token.userId as string; ...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions