Moved to ne generic params.

This commit is contained in:
Martin Edenhofer 2016-04-22 09:58:28 +02:00
parent e56ed8eeca
commit 30acbec315

View file

@ -183,7 +183,7 @@ returns
Transaction::BackgroundJob.run(
object: 'Ticket',
type: 'reminder_reached',
ticket_id: ticket.id,
object_id: ticket.id,
article_id: ticket.articles.last.id,
)
@ -223,7 +223,7 @@ returns
Transaction::BackgroundJob.run(
object: 'Ticket',
type: 'escalation',
ticket_id: ticket.id,
object_id: ticket.id,
article_id: ticket.articles.last.id,
)
result.push ticket
@ -234,7 +234,7 @@ returns
Transaction::BackgroundJob.run(
object: 'Ticket',
type: 'escalation_warning',
ticket_id: ticket.id,
object_id: ticket.id,
article_id: ticket.articles.last.id,
)
result.push ticket