Mapped column (#22644)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Asuka Minato 2025-07-23 01:39:59 +09:00 • committed by GitHub
commit 6d3e198c3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 745 additions and 716 deletions

View file

@ -82,7 +82,7 @@ class BillingService:
if not join:
raise ValueError("Tenant account join not found")
if not TenantAccountRole.is_privileged_role(join.role):
if not TenantAccountRole.is_privileged_role(TenantAccountRole(join.role)):
raise ValueError("Only team owner or team admin can perform this action")
@classmethod