From 3ecae05df751e1f9a566415a3bd322b75d52696c Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 5 Dec 2023 02:39:04 +0800 Subject: [PATCH] Fix #234 --- 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,