Skip to content

Commit

Permalink
Merge pull request #5351 from nyaruka/remove_bcast_template_state
Browse files Browse the repository at this point in the history
Remove deprecated `template_state` field on mailroom queue broadcast payload
  • Loading branch information
rowanseymour authored Jul 3, 2024
2 parents fdeafec + 9d692ea commit ca6aa2e
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 ca6aa2e

Please sign in to comment.