Nascom / TeamleaderApiClient

PHP Client to connect to the Teamleader API
MIT License
9 stars 9 forks source link

Fix bad request when retrieving creditnote detail #3

Closed jnstr closed 7 years ago

jnstr commented 7 years ago

When retrieving a creditnote detail, the Teamleader API threw an error 400 (bad request) because the required option "creditnote_id" was missing.

The RetrieveCreditnoteRequest class was using the "credit_id" option intead of "creditnote_id".

mark-gerarts commented 7 years ago

You're absolutely right, merging this as well.