diff --git a/apps/edr-freight-web/portal/src/constants/URLS.ts b/apps/edr-freight-web/portal/src/constants/URLS.ts index b2dd0f254..03123b672 100644 --- a/apps/edr-freight-web/portal/src/constants/URLS.ts +++ b/apps/edr-freight-web/portal/src/constants/URLS.ts @@ -88,12 +88,12 @@ export const URL_CONSTANTS = { BOOKINGS: { BASE: "/bookings", - BY_ID: (id: string | number) => `/bookings/${id}`, - CONTRACT_VIEW: (id: string) => `/bookings/${id}/contract/view`, - CONTRACT_DOCUMENT: (id: string) => `/bookings/${id}/contract/document`, - CONTRACT_SIGN: (id: string) => `/bookings/${id}/contract/sign`, - CONTRACT_DOWNLOAD: (id: string) => `/bookings/${id}/contract`, - CANCEL: (id: string | number) => `/bookings/${id}/cancel`, - CONFIRM: (id: string | number) => `/bookings/${id}/confirm`, + BY_ID: (id: string | number) => `/api/bookings/${id}`, + CONTRACT_VIEW: (id: string) => `/api/bookings/${id}/contract/view`, + CONTRACT_DOCUMENT: (id: string) => `/api/bookings/${id}/contract/document`, + CONTRACT_SIGN: (id: string) => `/api/bookings/${id}/contract/sign`, + CONTRACT_DOWNLOAD: (id: string) => `/api/bookings/${id}/contract`, + CANCEL: (id: string | number) => `/api/bookings/${id}/cancel`, + CONFIRM: (id: string | number) => `/api/bookings/${id}/confirm`, }, };