TimetableAPI-Upgrade #64
@ -52,7 +52,7 @@ async function findByTiplocArray(tiplocArray: string[]) {
|
||||
return res;
|
||||
} else {
|
||||
let partial = await findPartialMatchByTiploc(tiplocArray);
|
||||
return partial
|
||||
return partial;
|
||||
}
|
||||
}
|
||||
|
||||
@ -108,6 +108,7 @@ async function findPartialMatchByTiploc(tiplocArray: string[]) {
|
||||
|
||||
const res = await queryAggregate('pis', pipeline)
|
||||
console.log(JSON.stringify(res))
|
||||
return res
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
Loading…
Reference in New Issue
Block a user