Profile editing: Uploading avatar and header images (#38189)
This commit is contained in:
14 files changed
+647
-39
No files matched your search
@@ -67,5 +67,5 @@ export const apiGetFamiliarFollowers = (id: string) =>
|
||||
|
||||
export const apiGetProfile = () => apiRequestGet<ApiProfileJSON>('v1/profile');
|
||||
|
||||
export const apiPatchProfile = (params: ApiProfileUpdateParams) =>
|
||||
export const apiPatchProfile = (params: ApiProfileUpdateParams | FormData) =>
|
||||
apiRequestPatch<ApiProfileJSON>('v1/profile', params);
|
||||
Reference in new issue
Block a user