Callback reads _ssid not ssid
This commit is contained in:
parent
83ed21441c
commit
40a306c9e1
|
@ -141,7 +141,7 @@ class Wifi {
|
|||
return _cb(err)
|
||||
}
|
||||
console.log('Wifi refreshed')
|
||||
_cb(null, { ssid : ssid, pwd : pwd.length })
|
||||
_cb(null, { ssid : _ssid })
|
||||
_cb = () => {}
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue