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 398a62aadb - Show all commits

View File

@ -28,8 +28,9 @@ async function findPisByOrigDest(start: string, end: string) {
], ],
}, },
}; };
const search = db.query("pis", query); const search = await db.query("pis", query);
return await search; // Check for results, if none then try partial match
return search;
} }
async function findPisByCode(code: string) { async function findPisByCode(code: string) {