Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用makeGroupMembership报错 #7

Open
dengrun opened this issue Apr 12, 2020 · 0 comments
Open

调用makeGroupMembership报错 #7

dengrun opened this issue Apr 12, 2020 · 0 comments

Comments

@dengrun
Copy link

dengrun commented Apr 12, 2020

错误如下:
Unhandled Rejection (TypeError): this.attrs.members.forEach is not a function
UserGroup.makeGroupMembership
H:/Blockstack_demo/node_modules/_radiks-gavin-test@0.2.6@radiks-gavin-test/lib/models/user-group.js:148
UserGroupList.inviteToGroup
H:/Blockstack_demo/src/UserGroupList.js:77
74 |
75 | group.privateKey = groupRecord.Key
76 | console.log(group)

77 | const invitation = await group.makeGroupMembership(this.state.inviteId)
| ^ 78 | console.log(invitation)
79 | this.setState({invitationID:invitation._id})
80 | /*

下载feature-radiks-userGroup后测试,也同样报这个错误
以下是数据库中记录截图
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant