Initialize var properly
This commit is contained in:
parent
654c220d91
commit
1cd561bd62
|
@ -17,7 +17,7 @@ cron.schedule('*/1 * * * *', async () => {
|
|||
|
||||
const devices = await updateDevicesInfo()
|
||||
|
||||
let mappings = null
|
||||
let mappings = 0
|
||||
|
||||
if (devices > 0) mappings = await updateUserIdMappings()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user