messagebird / php-rest-api

This repository contains the open source PHP client for MessageBird's REST API.
https://developers.messagebird.com/
BSD 2-Clause "Simplified" License
158 stars 95 forks source link

Use MessageReponse mapper instead of Message when calling list endpoint #210

Closed dennisvdvliet closed 1 year ago

dennisvdvliet commented 1 year ago

The Message mapper is missing the id and href properties since that mapper is used to map requests. We were still using the Message mapper in the list endpoint which resulted in those properties being removed from the response.

dennisvdvliet commented 1 year ago

Thanks @CoolGoose.

I do not have merging powers so feel free to do so when you are ready.