mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
Update handlers.ts
This commit is contained in:
1 parent
168eec3fe0
commit
bfa5fb6f16
1 file changed
+2
-2
@@ -60,7 +60,7 @@ export async function getDestination(request: FastifyRequest<OnlyId>) {
|
||||
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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user