Fix for dbmanager version fetch

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-03-13 19:55:19 +00:00
parent 04d598f984
commit e0420db03c
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
const version = { const version = {
api: ["/api/v1/",], api: ["/api/v1/",],
app: "1.1.0" app: "1.1.1"
}; };
module.exports = version; module.exports = version;

View File

@ -12,7 +12,9 @@ async function hits(){
out.mode = process.env.NODE_ENV; out.mode = process.env.NODE_ENV;
out.verBkend = vers.app; out.verBkend = vers.app;
out.dat = await dat; out.dat = await dat;
out.dat.verDbman = await dbmanVer.version; await dbmanVer
log.out(`listServices.meta: dbmanager Version: ${JSON.stringify(dbmanVer)}`)
out.dat.verDbman = dbmanVer.version;
return out; return out;
} }