Skip to content

Commit

Permalink
fix: exposing execute function
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Nov 8, 2017
1 parent 4297e4e commit 715a084
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RelayNetworkLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default class RelayNetworkLayer {
return fetchWithMiddleware(req, this._middlewares.filter(o => !!o));
};

this.execute = Network.create(this.fetchFn, this.subscribeFn);
const network = Network.create(this.fetchFn, this.subscribeFn);
this.execute = network.execute;
}
}

0 comments on commit 715a084

Please sign in to comment.