diff --git a/emgena/serializers.py b/emgena/serializers.py index 43d87eafc..6fa036d09 100644 --- a/emgena/serializers.py +++ b/emgena/serializers.py @@ -92,7 +92,6 @@ def create(self, validated_data): n = ena_models.Notify(**validated_data) emg_queue = settings.RT["emg_queue"] - ena_queue = settings.RT["ena_queue"] ticket = { "Requestor": n.from_email, @@ -104,7 +103,7 @@ def create(self, validated_data): ticket["Cc"] = n.cc if n.is_consent: - ticket["Queue"] = ena_queue + return 403 else: ticket["Queue"] = emg_queue