mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-23 00:13:24 +01:00
feat: run postrequest code after gql schema fetch
This commit is contained in:
parent
7e8073cbdb
commit
a6ddf12ee1
@ -569,6 +569,19 @@ const registerNetworkIpc = (mainWindow) => {
|
|||||||
);
|
);
|
||||||
const response = await axiosInstance(preparedRequest);
|
const response = await axiosInstance(preparedRequest);
|
||||||
|
|
||||||
|
await runPostResponse(
|
||||||
|
request,
|
||||||
|
response,
|
||||||
|
requestUid,
|
||||||
|
envVars,
|
||||||
|
collectionPath,
|
||||||
|
collectionRoot,
|
||||||
|
collectionUid,
|
||||||
|
collectionVariables,
|
||||||
|
processEnvVars,
|
||||||
|
scriptingConfig
|
||||||
|
);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
status: response.status,
|
status: response.status,
|
||||||
statusText: response.statusText,
|
statusText: response.statusText,
|
||||||
|
Loading…
Reference in New Issue
Block a user