DigitalOceanPHP / Client

DigitalOcean API v2 client for PHP
MIT License
709 stars 205 forks source link

Tagging Resources Throws a Runtime Exception #254

Closed matt-croft closed 3 years ago

matt-croft commented 4 years ago

When tagging resources it returns a 204 Status Code Response.

https://developers.digitalocean.com/documentation/v2/#tag-a-resource

This is done via the post method in the abstract api, the ResponseMediator will check for the 204 and return null, but the AbstractApi will then throw a runtime exception because the content is null.

GrahamCampbell commented 4 years ago

Thanks for the report. What version of this package are you using, please?

matt-croft commented 4 years ago

Currently using the v3.0.0 tagged version