hezarfen_frontend
Clone
https://git.tahinli.com/Hezarfen/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client } from "../client"; |
| 2 | import type { MealDish } from "../client"; |
| 3 | import type { MealDishBody } from "./postMealDish"; |
| 4 | |
| 5 | export function patchMealDishById(id: string, body: Partial<MealDishBody>): Promise<MealDish> { |
| 6 | return client<MealDish>(`/meals/dishes/${encodeURIComponent(id)}`, { method: "PATCH", body }); |
| 7 | } |