support for recipients

This commit is contained in:
Robert 2024-03-13 18:05:09 +07:00
parent a89bde51ab
commit b5f40c0e45
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22

View File

@ -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