Skip to content

Commit

Permalink
Remove deprecated broadcast.template_state field on mailroom queue pa…
Browse files Browse the repository at this point in the history
…yload
  • Loading branch information
rowanseymour committed Jul 3, 2024
1 parent fdeafec commit 9d692ea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion temba/mailroom/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion temba/mailroom/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
},
Expand Down

0 comments on commit 9d692ea

Please sign in to comment.