Update version to poll timetablemgr instead of mqclient
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
9031eb53c6
commit
fdcb43b5c2
@ -5,7 +5,7 @@ interface versions {
|
||||
|
||||
const version: versions = {
|
||||
api: ["/api/v2"],
|
||||
app: "2024.04.4",
|
||||
app: "2024.06.1",
|
||||
};
|
||||
|
||||
module.exports = version;
|
||||
|
@ -43,7 +43,7 @@ async function hits() {
|
||||
async function getVersions() {
|
||||
logger.debug("statsServices.getVersions: Fetching versions");
|
||||
const dbMan = await db.query("versions", { target: "dbmanager" });
|
||||
const mqClt = await db.query("versions", { target: "mq-client" });
|
||||
const mqClt = await db.query("versions", { target: "timetable-mgr" });
|
||||
const data = {
|
||||
backend: vers.app,
|
||||
"db-manager": dbMan[0]?.["version"] || "",
|
||||
|
Loading…
Reference in New Issue
Block a user