mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
fix
This commit is contained in:
@@ -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),
|
||||
),
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user