fix: proxy stop missing argument

This commit is contained in:
Andras Bacsai
2022-06-02 11:13:27 +02:00
parent 46a83aa457
commit 32d94cbe97
3 changed files with 4 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ export const post: RequestHandler = async (event) => {
}
} else {
await db.prisma.database.update({ where: { id }, data: { publicPort: null } });
await stopTcpHttpProxy(destinationDocker, oldPublicPort);
await stopTcpHttpProxy(id, destinationDocker, oldPublicPort);
}
}
return {