Skip to content

Commit

Permalink
Expose network context to the requestHook scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiovaresco committed Sep 25, 2020
1 parent 41f6c6a commit 52bd6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/insomnia-app/app/network/network.js
Expand Up @@ -981,6 +981,7 @@ async function _applyRequestPluginHooks(
...(pluginContexts.data.init(): Object),
...(pluginContexts.store.init(plugin): Object),
...(pluginContexts.request.init(newRenderedRequest, renderedContext): Object),
...(pluginContexts.network.init(renderedContext.getEnvironmentId()): Object),
};

try {
Expand Down

0 comments on commit 52bd6df

Please sign in to comment.