helpscout / helpscout-api-php

PHP Wrapper for the Help Scout API
MIT License
98 stars 62 forks source link

Gracefully handle hydrating who created a convo #261

Closed bkuhl closed 3 years ago

bkuhl commented 3 years ago

In the event a User created a convo and the user is deleted, the API may return an empty createdBy id. This PR updates the code so the user is only hydrated if a valid id is specified.

Closes https://github.com/helpscout/helpscout-api-php/issues/258