diff --git a/backend/app/routers/auth.py b/backend/app/routers/auth.py index 39e0c4a..cdc9416 100644 --- a/backend/app/routers/auth.py +++ b/backend/app/routers/auth.py @@ -103,8 +103,7 @@ async def account_read( account.id, account.company_domain, ) - return AccountRead.model_validate( - account, + return AccountRead.model_validate(account).model_copy( update={"is_domain_owner": is_owner}, )