feat(api): EE include role_id in the list of members
This commit is contained in:
parent
5fc9ce5bdd
commit
8ee8c2e952
1 changed files with 2 additions and 1 deletions
|
|
@ -383,7 +383,8 @@ def get_members(tenant_id):
|
|||
DATE_PART('day',timezone('utc'::text, now()) \
|
||||
- COALESCE(basic_authentication.invited_at,'2000-01-01'::timestamp ))>=1 AS expired_invitation,
|
||||
basic_authentication.password IS NOT NULL AS joined,
|
||||
invitation_token
|
||||
invitation_token,
|
||||
role_id
|
||||
FROM public.users LEFT JOIN public.basic_authentication ON users.user_id=basic_authentication.user_id
|
||||
WHERE users.tenant_id = %(tenantId)s AND users.deleted_at IS NULL
|
||||
ORDER BY name, id""",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue