This commit is contained in:
PxlLoewe
2025-10-04 19:53:56 +02:00
parent f691eb5f7c
commit 859b8519db
5 changed files with 68 additions and 15 deletions

View File

@@ -55,9 +55,11 @@ export const sendMissionAPI = async (
{
stationId,
vehicleName,
desktopOnly,
}: {
stationId?: number;
vehicleName?: "RTW" | "POL" | "FW";
desktopOnly?: boolean;
},
) => {
const respone = await serverApi.post<{
@@ -65,6 +67,7 @@ export const sendMissionAPI = async (
}>(`/mission/${id}/send-alert`, {
stationId,
vehicleName,
desktopOnly,
});
return respone.data;
};