From f356c00ba2ad629c8bb8c11566f4376b4884cf85 Mon Sep 17 00:00:00 2001 From: ghost2023 Date: Sat, 6 Jun 2026 09:04:02 +0300 Subject: [PATCH] fix: booking api url s --- apps/edr-freight-web/portal/src/constants/URLS.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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`, }, };