changes pilot socket to reperate pilto socket, added pilot stats

This commit is contained in:
PxlLoewe
2025-05-17 23:51:04 -07:00
parent 16e05a08a6
commit 6b58f564b2
16 changed files with 583 additions and 352 deletions

View File

@@ -27,6 +27,13 @@ export const editMissionAPI = async (
return respone.data;
};
export const sendMissionAPI = async (id: number) => {
const respone = await serverApi.post<{
message: string;
}>(`/mission/${id}/send-alert`);
return respone.data;
};
export const deleteMissionAPI = async (id: number) => {
await serverApi.delete(`/mission/${id}`);
};