Callback reads _ssid not ssid

This commit is contained in:
mmcwilliams 2018-01-01 00:37:00 -05:00
parent 83ed21441c
commit 40a306c9e1
1 changed files with 1 additions and 1 deletions

View File

@ -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 = () => {}
}
/**