Properly normalized data for job:received pusher event

This commit is contained in:
Piotr Sarnacki 2015-01-22 19:59:39 +01:00
parent e09fc2e5eb
commit 4b78a81356

View File

@ -88,7 +88,7 @@ $.extend Travis.Pusher.prototype,
switch event
when 'build:started', 'build:finished'
data
when 'job:created', 'job:started', 'job:requeued', 'job:finished', 'job:log', 'job:canceled'
when 'job:created', 'job:started', 'job:requeued', 'job:finished', 'job:log', 'job:canceled', 'job:received'
data.queue = data.queue.replace('builds.', '') if data.queue
{ job: data }
when 'worker:added', 'worker:updated', 'worker:removed'