Skip to content

Commit

Permalink
fix(linkedin): login as someone else (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
adelinaenache authored and hsb1007 committed Jul 1, 2024
1 parent e8072f8 commit 03dbf95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/service/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class AuthService {
const { email, displayName, picture } = req.user;
const socialAccount = await this.prisma.socialAccount.findFirst({
where: {
socialId: req.user.socialId,
socialId: req.user.id,
platform: SocialAccountType.LINKEDIN,
},
include: {
Expand Down

0 comments on commit 03dbf95

Please sign in to comment.