Skip to content

Commit

Permalink
Bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Feb 10, 2024
1 parent bca02a9 commit f46fa10
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"start": "node index.js"
},
"dependencies": {
"dotenv": "16.3.1",
"fastify": "4.24.3",
"dotenv": "16.4.1",
"fastify": "4.26.0",
"luxon": "3.4.4",
"protobufjs": "7.2.5",
"redis": "4.6.11",
"tunnel-ssh": "5.1.2",
"mongodb": "6.3.0"
"mongodb": "6.3.0",
"protobufjs": "7.2.6",
"redis": "4.6.13",
"tunnel-ssh": "5.1.2"
}
}
6 changes: 3 additions & 3 deletions server/services/RTEVENTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class RTEVENTS {
// 3.
// Perform the request to PCGI

const allRtEvents2 = await REALTIMEDB.VehicleEvents.find({
const allRtEvents = await REALTIMEDB.VehicleEvents.find({
millis: {
$gte: DateTime.now().setZone('Europe/Lisbon').minus({ minutes: 5 }).toMillis(),
},
Expand All @@ -53,12 +53,12 @@ class RTEVENTS {
console.log('---------------------------------------------------------------------------------');
console.log('---------------------------------------------------------------------------------');
console.log('---------------------------------------------------------------------------------');
console.log('MONGODB EVENTS LENGTH', allRtEvents2.length);
console.log('MONGODB EVENTS LENGTH', allRtEvents.length);
console.log('---------------------------------------------------------------------------------');
console.log('---------------------------------------------------------------------------------');
console.log('---------------------------------------------------------------------------------');

const allRtEvents = await PCGIAPI.request('opcoreconsole/vehicle-events/filtered', {
const allRtEvents2 = await PCGIAPI.request('opcoreconsole/vehicle-events/filtered', {
method: 'POST',
contentType: 'application/x-www-form-urlencoded',
body: formData,
Expand Down

0 comments on commit f46fa10

Please sign in to comment.