We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac883d8 commit d696d98Copy full SHA for d696d98
src/modules/account/index.ts
@@ -40,7 +40,7 @@ export default class Cam {
40
return {
41
ownerUin: res.OwnerUin,
42
uin: res.Uin,
43
- appId: res.AppId![0] || '',
+ appId: (res.AppId && res.AppId[0]) || '',
44
account: res.Account,
45
userType: res.UserType,
46
type: res.Type,
0 commit comments