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({