merge main into proxy branch

This commit is contained in:
Mirko Golze 2023-10-16 12:12:09 +02:00
parent 19463cd0cf
commit 1b9ad34f3f

View File

@ -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);
});
};