diff --git a/apps/api/src/routes/api/v1/destinations/handlers.ts b/apps/api/src/routes/api/v1/destinations/handlers.ts index 9910a2ba7..f310f8a61 100644 --- a/apps/api/src/routes/api/v1/destinations/handlers.ts +++ b/apps/api/src/routes/api/v1/destinations/handlers.ts @@ -60,7 +60,7 @@ export async function getDestination(request: FastifyRequest) { throw { status: 404, message: `Destination not found.` }; } const settings = await listSettings(); - let payload = { + const payload = { destination, settings }; @@ -222,7 +222,7 @@ export async function verifyRemoteDockerEngine(request: FastifyRequest, reply: F if (!coolifyNetwork) { await asyncExecShell(`DOCKER_HOST=${host} docker network create --attachable coolify-infra`); - + } await prisma.destinationDocker.update({ where: { id }, data: { remoteVerified: true } }) return reply.code(201).send()