From a6ddf12ee117376b7f6019951750a5ff648caef3 Mon Sep 17 00:00:00 2001 From: Chris Wilper Date: Fri, 20 Oct 2023 12:13:35 -0400 Subject: [PATCH] feat: run postrequest code after gql schema fetch --- packages/bruno-electron/src/ipc/network/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/bruno-electron/src/ipc/network/index.js b/packages/bruno-electron/src/ipc/network/index.js index 4dca5ae01..52922516b 100644 --- a/packages/bruno-electron/src/ipc/network/index.js +++ b/packages/bruno-electron/src/ipc/network/index.js @@ -569,6 +569,19 @@ const registerNetworkIpc = (mainWindow) => { ); const response = await axiosInstance(preparedRequest); + await runPostResponse( + request, + response, + requestUid, + envVars, + collectionPath, + collectionRoot, + collectionUid, + collectionVariables, + processEnvVars, + scriptingConfig + ); + return { status: response.status, statusText: response.statusText,