From 6541284a4ce82b2a03dd0e17951fcab6832bad0e Mon Sep 17 00:00:00 2001 From: debu-2 Date: Sun, 4 Oct 2026 16:00:45 +0530 Subject: [PATCH] update --- backend/app/routers/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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}, )