Skip to content

Commit d696d98

Browse files
committed
fix(account): appid not exist bug
1 parent ac883d8 commit d696d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/account/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default class Cam {
4040
return {
4141
ownerUin: res.OwnerUin,
4242
uin: res.Uin,
43-
appId: res.AppId![0] || '',
43+
appId: (res.AppId && res.AppId[0]) || '',
4444
account: res.Account,
4545
userType: res.UserType,
4646
type: res.Type,

0 commit comments

Comments
 (0)