forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

patchUserProfile.ts6 lines, 256 bytesHistoryRawDownload
1import { client } from "@/api/client";
2import type { ProfileUpdate, User } from "@/api/client";
3
4export function patchUserProfile(id: string, body: ProfileUpdate): Promise<User> {
5 return client<User>(`/users/${id}/profile`, { method: "PATCH", body });
6}