TimetableAPI-Upgrade #64
@ -28,8 +28,9 @@ async function findPisByOrigDest(start: string, end: string) {
|
||||
],
|
||||
},
|
||||
};
|
||||
const search = db.query("pis", query);
|
||||
return await search;
|
||||
const search = await db.query("pis", query);
|
||||
// Check for results, if none then try partial match
|
||||
return search;
|
||||
}
|
||||
|
||||
async function findPisByCode(code: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user