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 { PatchMyPreferencesBody } from "./patchMyPreferences"; |
| 3 | import type { User } from "../client"; |
| 4 | |
| 5 | export function patchUserPreferences(id: string, body: PatchMyPreferencesBody): Promise<User> { |
| 6 | return client<User>(`/users/${id}/preferences`, { method: "PATCH", body }); |
| 7 | } |