Skip to content

Commit

Permalink
Another insulation for api.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Feb 10, 2018
1 parent 861450d commit 706fa87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ancient-peer",
"version": "0.0.5",
"version": "0.0.6",
"description": "Universal router queries and bundles.",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/peer.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class Peer {
* @description Used when disconnecting the communication channel.
*/
this.channelsManager.onDisconnected = (channel) => {
this.apiManager.channelDisconnected(channel);
this.apiManager.channelDisconnected(channel.id);
};

/**
Expand Down

0 comments on commit 706fa87

Please sign in to comment.