Прокрутка дерганая

This commit is contained in:
Халимов Рустам
2026-04-03 16:57:06 +03:00
parent 1b8abbc995
commit 2ab5b295e8
12 changed files with 688 additions and 98 deletions
@@ -12,7 +12,7 @@ export class UserApi {
return httpClient.request<User>(`/profiles/${id}`);
}
static async updateProfile(data: { displayName?: string; bio?: string; birthday?: string }) {
static async updateProfile(data: { displayName?: string; bio?: string; birthday?: string | null }) {
// Конечная точка в новом бэкенде: PUT /api/profiles/profile
return httpClient.request<User>('/profiles/profile', {
method: 'PUT',