From 8ccd4f96a13c8c3f12cecd4c90bf123166af8631 Mon Sep 17 00:00:00 2001 From: ghost2023 Date: Thu, 21 May 2026 10:02:28 +0300 Subject: [PATCH] fix --- apps/edr-freight-web/portal/src/services/api.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/edr-freight-web/portal/src/services/api.ts b/apps/edr-freight-web/portal/src/services/api.ts index 8cb3764ff..999bf6ced 100644 --- a/apps/edr-freight-web/portal/src/services/api.ts +++ b/apps/edr-freight-web/portal/src/services/api.ts @@ -1,5 +1,5 @@ import type { Freight, PaginatedResponse } from "@edr/types"; -import { endpoint } from "@/utils/api"; +import { endpoint } from "@/utils/endpoint"; import type { CreateFileUploadFieldDto, CreateFileUploadSettingDto, @@ -42,10 +42,8 @@ export const api = { Freight.IBooking >("bookings", "create", (input) => bookingsService.create(input)), - remove: endpoint<{ id: string }, void>( - "bookings", - "remove", - ({ id }) => bookingsService.remove(id), + remove: endpoint<{ id: string }, void>("bookings", "remove", ({ id }) => + bookingsService.remove(id), ), },