From b5f40c0e45297020f6826aebc68ee65e4a8c7985 Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 13 Mar 2024 18:05:09 +0700 Subject: [PATCH] support for recipients --- .../services/progress_action/comment_progress_action.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chain_service/services/progress_action/comment_progress_action.py b/chain_service/services/progress_action/comment_progress_action.py index bf0f323..a618c38 100644 --- a/chain_service/services/progress_action/comment_progress_action.py +++ b/chain_service/services/progress_action/comment_progress_action.py @@ -26,7 +26,10 @@ class CommentProgressActionService(BaseProgressActionService): self.progress_action = progress_action async def process(self): - payload = {"task_id": self.progress_chain.task_id} + payload = { + "task_id": self.progress_chain.task_id, + "recipients": self.progress_chain.recipients or [], + } if self.progress_action.text: payload["description"] = self.progress_action.text