diff --git a/backend/controllers/systems.js b/backend/controllers/systems.js index 57c133e..8815ea9 100644 --- a/backend/controllers/systems.js +++ b/backend/controllers/systems.js @@ -194,9 +194,9 @@ exports.authorize_system = async function (req, res) { } -load_systems(clients); +load_systems(); var statSched = schedule.scheduleJob('*/5 * * * *', function() { - load_systems(clients); + load_systems(); });