From 9d692ea62e60a0262066d2f4b8152371b3f33a95 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Wed, 3 Jul 2024 16:43:38 -0500 Subject: [PATCH] Remove deprecated broadcast.template_state field on mailroom queue payload --- temba/mailroom/queue.py | 1 - temba/mailroom/tests.py | 1 - 2 files changed, 2 deletions(-) diff --git a/temba/mailroom/queue.py b/temba/mailroom/queue.py index 293eadc4e87..6141392e16f 100644 --- a/temba/mailroom/queue.py +++ b/temba/mailroom/queue.py @@ -42,7 +42,6 @@ def queue_broadcast(broadcast): "broadcast_id": broadcast.id, "org_id": broadcast.org_id, "created_by_id": broadcast.created_by_id, - "template_state": "unevaluated", # deprecated } _queue_batch_task(broadcast.org_id, BatchTask.SEND_BROADCAST, task, HIGH_PRIORITY) diff --git a/temba/mailroom/tests.py b/temba/mailroom/tests.py index bb902a9b4a0..0d72e47681c 100644 --- a/temba/mailroom/tests.py +++ b/temba/mailroom/tests.py @@ -53,7 +53,6 @@ def test_queue_broadcast(self): "broadcast_id": bcast.id, "org_id": self.org.id, "created_by_id": self.admin.id, - "template_state": "unevaluated", # deprecated, }, "queued_on": matchers.ISODate(), },