Profile editing: Utilize new API (#37990)

This commit is contained in:
Echo authored and GitHub committed 2026-02-26 13:55:10 +00:00
1 parent 51b81b3ce9
commit d18a47b6a7
11 files changed
+283 -101

No files matched your search

+7
View File
@@ -179,3 +179,10 @@ export async function apiRequestDelete<
>(url: ApiUrl, params?: RequestParamsOrData<ApiParams>) {
return apiRequest<ApiResponse>('DELETE', url, { params });
}
export async function apiRequestPatch<ApiResponse = unknown, ApiData = unknown>(
url: ApiUrl,
data?: RequestParamsOrData<ApiData>,
) {
return apiRequest<ApiResponse>('PATCH', url, { data });
}