change name hook

This commit is contained in:
hamid zarghami
2025-12-07 16:43:23 +03:30
parent 10e5143d78
commit 0bc80a59ec
4 changed files with 13 additions and 3 deletions
+4
View File
@@ -26,3 +26,7 @@ export const getOrderById = async (
);
return data;
};
export const confirmOrder = async (orderId: string): Promise<void> => {
await axios.patch(`/admin/orders/${orderId}/confirm`);
};