Skip to content

Commit

Permalink
Merge pull request #1111 from dimagi/cs/passthough_email_node
Browse files Browse the repository at this point in the history
Make email node passthrough
  • Loading branch information
SmittieC authored Jan 31, 2025
2 parents e781540 + 35376f5 commit 70eefe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/pipelines/nodes/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _process(self, input, node_id: str, **kwargs) -> PipelineState:
send_email_from_pipeline.delay(
recipient_list=self.recipient_list.split(","), subject=self.subject, message=input
)
return PipelineState.from_node_output(node_name=self.name, node_id=node_id, output=None)
return PipelineState.from_node_output(node_name=self.name, node_id=node_id, output=input)


class Passthrough(PipelineNode):
Expand Down

0 comments on commit 70eefe4

Please sign in to comment.