From de2f747140829bc4fd382e1ceda370f748a343e5 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 27 Jul 2022 19:04:25 +0200 Subject: [PATCH] Fix admin profile page --- app/admin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/admin.py b/app/admin.py index 791a8af..f105cda 100644 --- a/app/admin.py +++ b/app/admin.py @@ -524,7 +524,9 @@ async def admin_profile( ), ) .options( - joinedload(models.InboxObject.relates_to_inbox_object), + joinedload(models.InboxObject.relates_to_inbox_object).options( + joinedload(models.InboxObject.actor) + ), joinedload(models.InboxObject.relates_to_outbox_object).options( joinedload( models.OutboxObject.outbox_object_attachments