From 21a9d28bb814cfd56326d14d320b093b4194000b Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Fri, 26 Nov 2021 18:13:22 +0100 Subject: [PATCH] feat(api): fixed /accounts --- ee/api/chalicelib/core/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/chalicelib/core/users.py b/ee/api/chalicelib/core/users.py index a113c22a4..ffbb56520 100644 --- a/ee/api/chalicelib/core/users.py +++ b/ee/api/chalicelib/core/users.py @@ -251,7 +251,7 @@ def get(user_id, tenant_id): users.user_id AS id, email, role, - name, + users.name, basic_authentication.generated_password, (CASE WHEN role = 'owner' THEN TRUE ELSE FALSE END) AS super_admin, (CASE WHEN role = 'admin' THEN TRUE ELSE FALSE END) AS admin,