TimetableAPI-Upgrade #64

Merged
fred.boniface merged 36 commits from TimetableAPI-Upgrade into main 2024-02-11 15:53:17 +00:00
Showing only changes of commit 725dfb86e2 - Show all commits

View File

@ -44,6 +44,8 @@ async function findPisByCode(code: string) {
} }
async function findByTiplocArray(tiplocArray: string[]) { async function findByTiplocArray(tiplocArray: string[]) {
// If any of the TIPLOCS in an array is RDG4AB - Replace it with READING.
// ^^ Double check those though before doing it.
const query = { const query = {
tiplocs: tiplocArray, tiplocs: tiplocArray,
}; };