hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client } from "../client"; |
| 2 | import type { DietaryProfile } from "../client"; |
| 3 | |
| 4 | export function patchDietaryProfileByUserId( |
| 5 | userId: string, |
| 6 | body: { tags?: string[]; note?: string | null }, |
| 7 | ): Promise<DietaryProfile> { |
| 8 | return client<DietaryProfile>(`/meals/profiles/${encodeURIComponent(userId)}`, { method: "PATCH", body }); |
| 9 | } |