Mutualize a call Pipedrive::API.put

This commit is contained in:
gregoirenovel 2018-03-28 14:20:54 +02:00
parent e31b839e0c
commit 4ff07f2b93
3 changed files with 4 additions and 4 deletions

View file

@ -27,6 +27,6 @@ class Pipedrive::PersonAdapter
def self.update_person_owner(person_id, owner_id)
params = { owner_id: owner_id }
Pipedrive::API.put_person(person_id, params.to_json)
Pipedrive::API.put_person(person_id, params)
end
end