Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
a324c6fc63
commit
ab8db7bd06
@ -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;
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user