mirror of
https://github.com/sakaljurgis/best-choice.git
synced 2026-11-07 14:18:03 +00:00
prices panel
This commit is contained in:
1 parent
e30e116187
commit
0d97a497ea
4 files changed
+244
-219
No files matched your search
@@ -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