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 e3097b1af9 - Show all commits

View File

@ -52,7 +52,7 @@ async function findByTiplocArray(tiplocArray: string[]) {
return res; return res;
} else { } else {
let partial = await findPartialMatchByTiploc(tiplocArray); let partial = await findPartialMatchByTiploc(tiplocArray);
return partial return partial;
} }
} }
@ -108,6 +108,7 @@ async function findPartialMatchByTiploc(tiplocArray: string[]) {
const res = await queryAggregate('pis', pipeline) const res = await queryAggregate('pis', pipeline)
console.log(JSON.stringify(res)) console.log(JSON.stringify(res))
return res
} }
module.exports = { module.exports = {