diff --git a/app/composables/useRadioBackend.ts b/app/composables/useRadioBackend.ts index 6f1320f..0dd6476 100644 --- a/app/composables/useRadioBackend.ts +++ b/app/composables/useRadioBackend.ts @@ -48,10 +48,19 @@ export function useRadioBackend() { flowSlug: string, variables?: Record, noChain: boolean = false, + airportIcao?: string, + destinationIcao?: string, ): Promise { return await $fetch(`${baseUrl()}/api/radio/session`, { method: 'POST', - body: { flow_slug: flowSlug, variables: variables ?? null, no_chain: noChain }, + body: { + flow_slug: flowSlug, + variables: variables ?? null, + no_chain: noChain, + // Lets the backend compute the real OSM taxi route for taxi flows. + airport_icao: airportIcao ?? null, + destination_icao: destinationIcao ?? null, + }, }) } diff --git a/app/pages/pm.vue b/app/pages/pm.vue index b0ea726..67052cf 100644 --- a/app/pages/pm.vue +++ b/app/pages/pm.vue @@ -1,5 +1,16 @@