Update
This commit is contained in:
parent
db1ce8987d
commit
8739522915
|
|
@ -559,7 +559,7 @@ export class WebSocketIo {
|
||||||
const username = station.switch_control_username as string
|
const username = station.switch_control_username as string
|
||||||
const password = station.switch_control_password 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
|
// Tạo APC Controller instance
|
||||||
const infoSwitch = new SwitchController({
|
const infoSwitch = new SwitchController({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue