pipedrive / client-php

Pipedrive API client for PHP
MIT License
49 stars 57 forks source link

getProductfields fails #27

Closed Robertkowski closed 2 months ago

Robertkowski commented 3 years ago

Unnecessary use json mapper. It fails.

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

Use this:

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