electron app starting

This commit is contained in:
Jan Prochazka
2021-12-16 11:46:33 +01:00
parent 0a7c56dace
commit e636987f31
60 changed files with 132 additions and 129 deletions

View File

@@ -38,7 +38,7 @@
isTesting = true;
testIdRef.update(x => x + 1);
const testid = testIdRef.get();
const resp = await axiosInstance.post('connections/test', e.detail);
const resp = await axiosInstance().post('connections/test', e.detail);
if (testIdRef.get() != testid) return;
isTesting = false;
@@ -70,7 +70,7 @@
let connection = _.omit(e.detail, omitProps);
if (driver?.beforeConnectionSave) connection = driver?.beforeConnectionSave(connection);
axiosInstance.post('connections/save', connection);
axiosInstance().post('connections/save', connection);
closeCurrentModal();
}