Restores make_request method and attempts to raise all errors returned by the Game Pass API as GamePassError. When the JSON response contains either 'Message' or 'message', it means that the request was unsuccessful. This made the authentication code much simpler to write as it will automatically raise 'error_unauthorised' on failure.
Restores make_request method and attempts to raise all errors returned by the Game Pass API as GamePassError. When the JSON response contains either 'Message' or 'message', it means that the request was unsuccessful. This made the authentication code much simpler to write as it will automatically raise 'error_unauthorised' on failure.