feat: добавил отображение аватарки
This commit is contained in:
1 parent
34e450815b
commit
038f0d89a6
22 files changed
+598
-28
No files matched your search
@@ -64,6 +64,7 @@ export const lecturesApi = {
|
||||
|
||||
export const usersApi = {
|
||||
me: () => apiRequest<CurrentUserDto>('/users/me'),
|
||||
myPhoto: () => apiRequestBlob('/users/me/photo', { headers: { Accept: 'image/*' } }),
|
||||
updateMe: (payload: { displayName?: string | null; avatarUrl?: string | null }) =>
|
||||
apiRequest<CurrentUserDto>('/users/me', {
|
||||
method: 'PUT',
|
||||
|
||||
Reference in new issue
Block a user