diff --git a/server/jobs/clear-old-data.js b/server/jobs/clear-old-data.js index ada7f8882..eedc628aa 100644 --- a/server/jobs/clear-old-data.js +++ b/server/jobs/clear-old-data.js @@ -2,6 +2,7 @@ const { R } = require("redbean-node"); const { log } = require("../../src/util"); const { setSetting, setting } = require("../util-server"); const Database = require("../database"); +const Settings = require("../models/settings"); const DEFAULT_KEEP_PERIOD = 180;