diff --git a/connect/api/v2/commerce/views.py b/connect/api/v2/commerce/views.py index 3972f12a..61302a2e 100644 --- a/connect/api/v2/commerce/views.py +++ b/connect/api/v2/commerce/views.py @@ -74,7 +74,7 @@ def get(self, request): ) return Response( { - "message": f"Project {project.name} exists and user {permission.user.email} has permission", + "message": f"Project {project.name} exists and user {user_email} has permission", "data": { "project_uuid": project.uuid, "has_project": True