fix: add created_at and updated_at to _build_admin_response function

The helper function was building the response manually but was missing
the new timestamp fields added to the schema.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-24 21:46:26 +01:00
parent 265395b71a
commit 526c20afb8

View File

@@ -124,6 +124,8 @@ def _build_admin_response(admin: User) -> AdminUserResponse:
is_active=admin.is_active,
is_super_admin=admin.is_super_admin,
platform_assignments=assignments,
created_at=admin.created_at,
updated_at=admin.updated_at,
)