diff --git a/tokenTap/validators.py b/tokenTap/validators.py index d92a234..1b555de 100644 --- a/tokenTap/validators.py +++ b/tokenTap/validators.py @@ -60,7 +60,8 @@ def check_user_permissions(self, raise_exception=True): result = dict() for c in self.td.constraints.all(): constraint: ConstraintVerification = get_constraint(c.name)( - self.user_profile, {"request_context": self.request_context} + self.user_profile, + context={"request_context": self.request_context} ) constraint.response = c.response try: