chore: add corrige adresse

This commit is contained in:
2026-03-06 19:29:49 +01:00
parent 3c2083c393
commit 81907b04aa
12 changed files with 598 additions and 31 deletions
+8
View File
@@ -117,6 +117,14 @@ export const deleteCommand = async (commandId: number) => {
return { success: true, message: data.message };
};
export const proposeAddressChangeCabine = async (commandId: number, proposedAddress: string) => {
const { data } = await apiClient.post(
`${API}/commands/${commandId}/propose-address`,
{ proposed_address: proposedAddress },
);
return { success: true, message: data.message };
};
export const notifyClientToDescendCabine = async (commandId: number) => {
const { data } = await apiClient.post(
`${API}/commands/${commandId}/notify-client`,