Verify type
This commit is contained in:
parent
7e2db1aad5
commit
c9307e4273
|
@ -165,6 +165,7 @@ const usedControllerMethods = [
|
||||||
]
|
]
|
||||||
|
|
||||||
for (let key of usedControllerMethods)
|
for (let key of usedControllerMethods)
|
||||||
|
if (typeof unifiController[key] === 'function')
|
||||||
unifiController[key] = promisify(unifiController[key])
|
unifiController[key] = promisify(unifiController[key])
|
||||||
|
|
||||||
export async function getOnlineWifiDevices() {
|
export async function getOnlineWifiDevices() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user