diff --git a/src/configs/version.configs.js b/src/configs/version.configs.js index e128aea..fd370aa 100644 --- a/src/configs/version.configs.js +++ b/src/configs/version.configs.js @@ -1,6 +1,6 @@ const version = { api: ['/api/v1/',], - app: '2023.5.3' + app: '2023.5.4' }; module.exports = version; \ No newline at end of file diff --git a/src/services/stats.services.js b/src/services/stats.services.js index 3123aea..cc387f6 100644 --- a/src/services/stats.services.js +++ b/src/services/stats.services.js @@ -15,6 +15,7 @@ async function buildJson() { const pisCount = db.colCount('pis'); const corpusCount = db.colCount('corpus'); const stationsCount = db.colCount('stations'); + const timetableCount = db.colCount('timetable'); // Insert data json.mode = process.env.NODE_ENV; @@ -29,6 +30,7 @@ async function buildJson() { json.count.pis = await pisCount; json.count.corpus = await corpusCount; json.count.stations = await stationsCount; + json.count.timetable = await timetableCount; return json; }