chore: add corrige adresse
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user