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
Asked
Active
Viewed 711 times
1
-
can you please add the sample code as well. – Pandit Jul 23 '18 at 14:17
1 Answers
3
This should work.
In app/joinChannel.js
Replace let event_hubs = client.getEventHubsForOrg(org_name);
with let event_hubs = channel.getChannelEventHubsForOrg(org_name);

Subhod I
- 172
- 2
- 7