Skip to content

Commit 89c3cbc

Browse files
committed
fix(v1): apple login find incorrect user (#773)
1 parent 58b3d03 commit 89c3cbc

File tree

1 file changed

+2
-2
lines changed
  • src/v1/controller/login/apple

1 file changed

+2
-2
lines changed

src/v1/controller/login/apple/jwt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export class AppleJWT extends AbstractController<RequestType, ResponseType> {
7777
userUUID,
7878
loginSource: LoginPlatform.Apple,
7979
}),
80-
hasPhone: await ServiceUserPhone.exist(this.userUUID),
81-
hasPassword: await ServiceUser.hasPassword(this.userUUID),
80+
hasPhone: await ServiceUserPhone.exist(userUUID),
81+
hasPassword: await ServiceUser.hasPassword(userUUID),
8282
},
8383
};
8484
}

0 commit comments

Comments
 (0)