[Fix #1736] Assign the deal and person to the person who accepted them

This commit is contained in:
gregoirenovel 2018-05-31 18:15:42 +02:00
parent e7995bd1c9
commit 346b32fbd4
5 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
class PipedriveAcceptsDealsJob < ApplicationJob
def perform(person_id, owner_id, stage_id)
PipedriveService.accept_demande_from_person(person_id, owner_id, stage_id)
def perform(person_id, administration_id, stage_id)
PipedriveService.accept_demande_from_person(person_id, administration_id, stage_id)
end
end