mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 13:05:44 +00:00
fix
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import type { Freight, PaginatedResponse } from "@edr/types";
|
import type { Freight, PaginatedResponse } from "@edr/types";
|
||||||
import { endpoint } from "@/utils/api";
|
import { endpoint } from "@/utils/endpoint";
|
||||||
import type {
|
import type {
|
||||||
CreateFileUploadFieldDto,
|
CreateFileUploadFieldDto,
|
||||||
CreateFileUploadSettingDto,
|
CreateFileUploadSettingDto,
|
||||||
@@ -42,10 +42,8 @@ export const api = {
|
|||||||
Freight.IBooking
|
Freight.IBooking
|
||||||
>("bookings", "create", (input) => bookingsService.create(input)),
|
>("bookings", "create", (input) => bookingsService.create(input)),
|
||||||
|
|
||||||
remove: endpoint<{ id: string }, void>(
|
remove: endpoint<{ id: string }, void>("bookings", "remove", ({ id }) =>
|
||||||
"bookings",
|
bookingsService.remove(id),
|
||||||
"remove",
|
|
||||||
({ id }) => bookingsService.remove(id),
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user