Reputation: 61
Error pageHi Guys I am facing following error "Failed to join all peers to channel. cause:TypeError: client.getEventHubsForOrg is not a function" while running node SDK setup any could help me I am running Balance transfer example
Upvotes: 1
Views: 713
Reputation: 182
This should work.
In app/joinChannel.js
Replace let event_hubs = client.getEventHubsForOrg(org_name);
with let event_hubs = channel.getChannelEventHubsForOrg(org_name);
Upvotes: 3