From 6eca6dc59f98c7a1937a32382c4556a5fdfc7639 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 5 Dec 2023 02:41:25 +0800 Subject: [PATCH] Fix #234 (#235) --- backend/socket-handlers/docker-socket-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/socket-handlers/docker-socket-handler.ts b/backend/socket-handlers/docker-socket-handler.ts index 88e48b6..036d171 100644 --- a/backend/socket-handlers/docker-socket-handler.ts +++ b/backend/socket-handlers/docker-socket-handler.ts @@ -234,7 +234,7 @@ export class DockerSocketHandler extends SocketHandler { socket.on("getDockerNetworkList", async (callback) => { try { checkLogin(socket); - const dockerNetworkList = server.getDockerNetworkList(); + const dockerNetworkList = await server.getDockerNetworkList(); callback({ ok: true, dockerNetworkList,