Skip to content

Commit 74a2dc2

Browse files
committed
fix(wechat): Fix username when binding wechat
1 parent bee8ebd commit 74a2dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/user/user.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class UserService {
112112
const hash = await bcrypt.hash(Math.random().toString(36), 10);
113113
const newUser = repo.create({
114114
password: hash,
115-
username: userData.loginId,
115+
username: userData.username,
116116
});
117117

118118
// eslint-disable-next-line @typescript-eslint/no-unused-vars

0 commit comments

Comments
 (0)