made changes for the linter

This commit is contained in:
asaki222 2024-11-18 14:17:58 -05:00
parent 2a228054cf
commit aa18afc9e1
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
2 changed files with 3 additions and 2 deletions

View file

@ -914,7 +914,8 @@ class DomainUsersView(DomainBaseView):
has_admin_flag = True
break # Once we find one match, no need to check further
# Add the role along with the computed flag to the list if the domain invitation if the status is not canceled
# Add the role along with the computed flag to the list if the domain invitation
# if the status is not canceled
if domain_invitation.status != "canceled":
invitations.append({"domain_invitation": domain_invitation, "has_admin_flag": has_admin_flag})