mirror of
https://github.com/sakaljurgis/best-choice.git
synced 2026-07-08 21:47:40 +00:00
prices panel
This commit is contained in:
@@ -73,3 +73,9 @@ export const createItemPrice = async (
|
||||
|
||||
return response.data;
|
||||
};
|
||||
|
||||
export const deleteItemPrice = async (priceId: string): Promise<void> => {
|
||||
await apiFetch<null>(`/prices/${priceId}`, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user