Skip to content

Commit b91c475

Browse files
committed
fix(comment): fix comments
1 parent dd16c38 commit b91c475

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/auth/wechat.service.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ export class WechatService {
108108
);
109109
}
110110

111-
const wechatUser = await this.userService.findByLoginId(
112-
userData.unionidinId,
113-
);
111+
const wechatUser = await this.userService.findByLoginId(userData.unionid);
114112
if (wechatUser) {
115113
const returnValue = {
116114
id: wechatUser.id,
@@ -127,7 +125,7 @@ export class WechatService {
127125
{
128126
loginType: 'wechat',
129127
username: userData.nickname,
130-
loginId: userData.unionidinId,
128+
loginId: userData.unionid,
131129
},
132130
manager,
133131
);

0 commit comments

Comments
 (0)