fixed small bug with handling of OutsideOrgMemberError

This commit is contained in:
David Kennedy 2025-01-23 13:56:15 -05:00
parent 662e4603db
commit aae6617f3d
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -118,7 +118,7 @@ def check_outside_org_membership(email, requestor, is_member_of_different_org):
and not flag_is_active_for_user(requestor, "multiple_portfolios")
and is_member_of_different_org
):
raise OutsideOrgMemberError(email=email)
raise OutsideOrgMemberError()
def _validate_existing_invitation(email, user, domain):