revert debug
This commit is contained in:
@@ -1226,7 +1226,6 @@ export async function startTraefikTCPProxy(
|
||||
}
|
||||
traefikUrl = `${ip}/webhooks/traefik/other.json`
|
||||
}
|
||||
console.log(traefikUrl)
|
||||
const tcpProxy = {
|
||||
version: '3.8',
|
||||
services: {
|
||||
@@ -1284,14 +1283,14 @@ export async function getServiceFromDB({ id, teamId }: { id: string; teamId: str
|
||||
});
|
||||
let { type } = body
|
||||
type = fixType(type)
|
||||
console.log({body})
|
||||
|
||||
if (body?.serviceSecret.length > 0) {
|
||||
body.serviceSecret = body.serviceSecret.map((s) => {
|
||||
s.value = decrypt(s.value);
|
||||
return s;
|
||||
});
|
||||
}
|
||||
console.log({body2:body})
|
||||
|
||||
body[type] = { ...body[type], ...getUpdateableFields(type, body[type]) }
|
||||
return { ...body, settings };
|
||||
}
|
||||
@@ -1583,7 +1582,6 @@ export function getUpdateableFields(type: string, data: any) {
|
||||
update[k.name] = temp
|
||||
});
|
||||
}
|
||||
console.log({update})
|
||||
return update
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user