mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-22 20:51:23 +01:00
merge main into proxy branch
This commit is contained in:
parent
19463cd0cf
commit
1b9ad34f3f
@ -45,6 +45,8 @@ export const fetchGqlSchema = async (endpoint, environment, request, collection)
|
||||
|
||||
export const cancelNetworkRequest = async (cancelTokenUid) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const { ipcRenderer } = window;
|
||||
|
||||
ipcRenderer.invoke('cancel-http-request', cancelTokenUid).then(resolve).catch(reject);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user