pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
Showing only changes of commit 92f621b6f9 - Show all commits

View File

@ -7,7 +7,7 @@ async function findByOrigDest() {
const formData = await fetchOrigDest()
log(`findByOrigDest: Searching for PIS Code for ${JSON.stringify(formData)}`)
const endpoint = `pis/origdest/${formData.origin}/${formData.destination}`
const json = await getApi(endpoint)
const json = await getApi(endpoint, auth = true)
if (json == false) {
await noData()
} else {