mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Dodano opcję lokalnego zapamiętywania filtrów
This commit is contained in:
@@ -7,7 +7,7 @@ const db = admin.firestore();
|
||||
import axios from "axios";
|
||||
|
||||
exports.scheduledUpdate = functions.pubsub
|
||||
.schedule("*/20 * * * *")
|
||||
.schedule("0 * * * *")
|
||||
.onRun(async (context) => {
|
||||
let stationData: {
|
||||
stationName: string;
|
||||
@@ -37,13 +37,6 @@ exports.scheduledUpdate = functions.pubsub
|
||||
occupiedFrom: Date.now(),
|
||||
currentDispatcherName: station.dispatcherName,
|
||||
});
|
||||
|
||||
// docRef.collection("dispatcherHistory").add({
|
||||
// dispatcherName: station.dispatcherName,
|
||||
// occupiedFrom: Date.now(),
|
||||
// occupiedTo: 0,
|
||||
// });
|
||||
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user