From 87395229150e8117e321a36d160c5dcfa38f2fb6 Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Thu, 6 Nov 2025 10:51:56 +0700 Subject: [PATCH] Update --- BACKEND/providers/socket_io_provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BACKEND/providers/socket_io_provider.ts b/BACKEND/providers/socket_io_provider.ts index 4ef3a4e..581ebfd 100644 --- a/BACKEND/providers/socket_io_provider.ts +++ b/BACKEND/providers/socket_io_provider.ts @@ -559,7 +559,7 @@ export class WebSocketIo { const username = station.switch_control_username as string const password = station.switch_control_password as string - if (!ip || !port || !username || !password) throw new Error(`Missing Switch configuration`) + if (!ip || !port || !password) throw new Error(`Missing Switch configuration`) // Tạo APC Controller instance const infoSwitch = new SwitchController({