diff --git a/server/src/cronTasks.js b/server/src/cronTasks.js index fdbd040..ba38887 100644 --- a/server/src/cronTasks.js +++ b/server/src/cronTasks.js @@ -17,7 +17,7 @@ cron.schedule('*/1 * * * *', async () => { const devices = await updateDevicesInfo() - let mappings = null + let mappings = 0 if (devices > 0) mappings = await updateUserIdMappings()