feat: working on remote docker engine

This commit is contained in:
Andras Bacsai
2022-07-20 13:35:26 +00:00
parent 9a0a145374
commit 7795c524f0
17 changed files with 510 additions and 520 deletions

View File

@@ -12,7 +12,7 @@
try {
const { id } = params;
const response = await get(`/destinations/${id}`);
const { destination, settings, state } = response;
const { destination, settings } = response;
if (id !== 'new' && (!destination || Object.entries(destination).length === 0)) {
return {
status: 302,
@@ -36,8 +36,7 @@
},
stuff: {
destination,
settings,
state
settings
}
};
} catch (error) {