lib/pushpop/web.rb in pushpop-0.3.1 vs lib/pushpop/web.rb in pushpop-0.3.2
- old
+ new
@@ -22,9 +22,11 @@
runner = lambda do
response = self.instance_eval(&job.webhook_proc)
if response
+ job.run(response, {'webhook' => response})
+
{
status: 'success',
job: job.name
}.to_json
else