Handle the zero device case

This commit is contained in:
Douglas Barone 2020-12-17 13:04:38 -04:00
parent cf21f1534d
commit a47f05ab18

View File

@ -37,6 +37,8 @@ async function updateUserIdMappings() {
}
})
if (wifiDevices.length == 0) return 0
const entries = wifiDevices.reduce(
(entries, device) =>
entries +