Also breaking GetProducts from deal since it was using the same model
Created a PR with a fix
I am running from my updated dll at the moment.
To Reproduce
Steps to reproduce the behavior:
Fetch deal products
Expected behavior
Return products of Deal
Screenshots
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'System.Collections.Generic.Dictionary`2[System.String,Pipedrive.ProductPrice]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly
Path 'data[0].product.prices', line 1, position 939.
Describe the bug Pipedrive api changed to update PUT prices to be sent as an array of objects instead of an object : https://developers.pipedrive.com/changelog/post/breaking-change-in-products-endpoint-and-webhook
Also breaking GetProducts from deal since it was using the same model
Created a PR with a fix I am running from my updated dll at the moment.
To Reproduce Steps to reproduce the behavior:
Expected behavior Return products of Deal
Screenshots Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'System.Collections.Generic.Dictionary`2[System.String,Pipedrive.ProductPrice]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly Path 'data[0].product.prices', line 1, position 939.