Mapped column (#22644)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
0f4809b9b8
commit
6d3e198c3c
19 changed files with 745 additions and 716 deletions
|
|
@ -998,7 +998,7 @@ class TenantService:
|
|||
.filter(TenantAccountJoin.tenant_id == tenant.id, TenantAccountJoin.account_id == account.id)
|
||||
.first()
|
||||
)
|
||||
return join.role if join else None
|
||||
return TenantAccountRole(join.role) if join else None
|
||||
|
||||
@staticmethod
|
||||
def get_tenant_count() -> int:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue