adamdburton / destiny-2-api-client

PHP API client for Destiny 2
MIT License
11 stars 8 forks source link

Undefined property: GuzzleHttp\Psr7\Response::$ErrorStatus #6

Closed michabbb closed 6 years ago

michabbb commented 6 years ago
$Manifest = $D2->getDestinyManifest();
if ($Manifest->isSuccess()) {
   //do something
}

22-05-2018-12-22-51

michabbb commented 6 years ago

maybe like this ?

return $this->getResponse()->getStatusCode() === 200;

adamdburton commented 6 years ago

Should be resolved with #7, thanks @michabbb!