mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
api/v3/site - correct admin name
This commit is contained in:
parent
a4991090fd
commit
237fd3c408
1 changed files with 3 additions and 1 deletions
|
@ -2863,10 +2863,12 @@ def lemmy_site_data():
|
|||
for admin in Site.admins():
|
||||
person = {
|
||||
"id": admin.id,
|
||||
"name": admin.display_name(),
|
||||
"name": admin.user_name,
|
||||
"display_name": admin.display_name(),
|
||||
"avatar": 'https://' + current_app.config['SERVER_NAME'] + admin.avatar_image(),
|
||||
"banned": admin.banned,
|
||||
"published": admin.created.isoformat(),
|
||||
"updated": admin.created.isoformat(),
|
||||
"actor_id": admin.profile_id(),
|
||||
"local": True,
|
||||
"deleted": admin.deleted,
|
||||
|
|
Loading…
Add table
Reference in a new issue