lib/runtime/service_caller.rb in factor-0.6.5 vs lib/runtime/service_caller.rb in factor-0.6.6
- old
+ new
@@ -82,10 +82,10 @@
notify :fail
when 'log'
message = " #{action_response['message']}"
notify :log, status: action_response['status'], message: message
when 'start_workflow'
- notify :start_workflow, action_response
+ notify :start_workflow, action_response['payload']
else
notify :log, status:'error', message: "Unknown action response: #{action_response}"
end
end