Change how the user avatar is exchanged between client und server

This commit is contained in:
Patrick Jentsch committed 2023-03-16 09:54:48 +01:00
1 parent 7ea7b6d7a7
commit f8e94a721f
3 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ class UserList extends ResourceList {
return {
'id': user.id,
'member-since': user.member_since,
'avatar': user.avatar ? `/users/${user.id}/avatar` : '/static/images/user_avatar.png',
'avatar': user.avatar,
'username': user.username,
'full-name': user.full_name ? user.full_name : '',
'location': user.location ? user.location : '',