From 7bfb13bc1f86c6168f8859e0fc49d61d4b4fdb43 Mon Sep 17 00:00:00 2001 From: Ro Date: Mon, 24 Aug 2020 13:14:30 -0700 Subject: [PATCH] one more file to add to the backup patch --- brain/routes/dash/settings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/brain/routes/dash/settings.js b/brain/routes/dash/settings.js index e4fe38c..afcbd58 100644 --- a/brain/routes/dash/settings.js +++ b/brain/routes/dash/settings.js @@ -4,6 +4,7 @@ const router = express.Router(); const FileHound = require('filehound'); const fs = require('fs-extra'); const settings = new Settings(); +const moment = require('moment'); var config = []; //-------------------------- // SETTINGS @@ -39,6 +40,7 @@ router.get('/', function (req, res) { status: true, themes: themes, settings: config, + last_backup: moment(config.global.last_backup).fromNow(), member: memberInfo[0] }); } else {