pis #1

Closed
fred.boniface wants to merge 51 commits from pis into dev
Showing only changes of commit d54098562d - Show all commits

View File

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