diff --git a/server/jobs/clear-old-data.js b/server/jobs/clear-old-data.js index eedc628aa..956be10e7 100644 --- a/server/jobs/clear-old-data.js +++ b/server/jobs/clear-old-data.js @@ -2,7 +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 { Settings } = require("../settings"); const DEFAULT_KEEP_PERIOD = 180;