Implementation notes
- The worker reads the
event.state object of step:complete in src/events/step-complete
- It looks for a
webhookResponse
- If it IS set, update the
step:complete payload we send to lightning to include webhook_response
For more info, look at: OpenFn/lightning#4666 (comment)
Tests
Implementation notes
event.stateobject ofstep:completeinsrc/events/step-completewebhookResponsestep:completepayload we send to lightning to includewebhook_responseFor more info, look at: OpenFn/lightning#4666 (comment)
Tests