Bump version

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-06-26 22:35:12 +01:00
parent a324c6fc63
commit ab8db7bd06
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
const version = { const version = {
api: ['/api/v1/','/api/v2'], api: ['/api/v1/','/api/v2'],
app: '2023.6.12' app: '2023.6.13'
}; };
module.exports = version; module.exports = version;

View File

@ -43,13 +43,12 @@ async function hits(){
async function versions() { async function versions() {
log.out('statsServices.versions: Fetching versions', 'info'); log.out('statsServices.versions: Fetching versions', 'info');
const versions = db.query('meta', {target: 'versions'}); const versions = await db.query('meta', {target: 'versions'});
let data = { let data = {
backend: '', backend: '',
'db-manager': '', 'db-manager': '',
'mq-subscriber': '', 'mq-subscriber': '',
}; };
await versions;
data.backend = vers.app; data.backend = vers.app;
data['db-manager'] = versions[0]['dbmanager']; data['db-manager'] = versions[0]['dbmanager'];
return data; return data;