forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBc35a83aBurak Boduroğlu4 months ago440 commits

patchUserPreferences.ts7 lines, 320 bytesHistoryRawDownload
1import { client } from "../client";
2import type { PatchMyPreferencesBody } from "./patchMyPreferences";
3import type { User } from "../client";
4
5export function patchUserPreferences(id: string, body: PatchMyPreferencesBody): Promise<User> {
6 return client<User>(`/users/${id}/preferences`, { method: "PATCH", body });
7}