We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0f576f commit f4771b8Copy full SHA for f4771b8
src/Controllers/ProductsController.php
@@ -416,7 +416,9 @@ public function updateAProduct(
416
//handle errors defined at the API level
417
$this->validateResponse($_httpResponse, $_httpContext);
418
419
- return CamelCaseHelper::keysToCamelCase($response->body);
+ $mapper = $this->getJsonMapper();
420
+
421
+ return CamelCaseHelper::keysToCamelCase($mapper->mapClass($response->body, 'Pipedrive\\Models\\Product'));
422
}
423
424
/**
0 commit comments