client-php icon indicating copy to clipboard operation
client-php copied to clipboard

getProductfields fails

Open Robertkowski opened this issue 5 years ago • 0 comments

Unnecessary use json mapper. It fails.

$mapper->mapClass($response->body, 'Pipedrive\\Models\\GetAllProductFieldsResponse')

Use this:

CamelCaseHelper::keysToCamelCase($response->body);

Robertkowski avatar Jan 15 '21 17:01 Robertkowski