Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API.Response: Prevent null reference exceptions
When received response is invalid (status code is not success), its content/headers don't have to be set. Code now properly checks for that scenario. This prevents occasional "Object reference not set to an object" message when API.Spotify.GetPlaybackState() is called.
- Loading branch information