From ab8db7bd06225eaf7e62300f18d62e7cc84c600b Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 26 Jun 2023 22:35:12 +0100 Subject: [PATCH] Bump version Signed-off-by: Fred Boniface --- src/configs/version.configs.js | 2 +- src/services/stats.services.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/configs/version.configs.js b/src/configs/version.configs.js index 494f9c8..ca0a352 100644 --- a/src/configs/version.configs.js +++ b/src/configs/version.configs.js @@ -1,6 +1,6 @@ const version = { api: ['/api/v1/','/api/v2'], - app: '2023.6.12' + app: '2023.6.13' }; module.exports = version; \ No newline at end of file diff --git a/src/services/stats.services.js b/src/services/stats.services.js index 71c6646..2bad7c8 100644 --- a/src/services/stats.services.js +++ b/src/services/stats.services.js @@ -43,13 +43,12 @@ async function hits(){ async function versions() { log.out('statsServices.versions: Fetching versions', 'info'); - const versions = db.query('meta', {target: 'versions'}); + const versions = await db.query('meta', {target: 'versions'}); let data = { backend: '', 'db-manager': '', 'mq-subscriber': '', }; - await versions; data.backend = vers.app; data['db-manager'] = versions[0]['dbmanager']; return data;