diff --git a/src/PaladinsAPI.php b/src/PaladinsAPI.php index 3b717fb..31a6a7c 100644 --- a/src/PaladinsAPI.php +++ b/src/PaladinsAPI.php @@ -608,7 +608,7 @@ private function makeRequest(string $url, int $maxTries = null, int $tries = nul $body = json_decode($response->getBody(), true); - if (isset($body['ret_msg']) && strpos(strtolower($body['ret_msg']), 'invalid signature') >= 0) { + if (isset($body['ret_msg'])) { if ($tries < $maxTries) { $this->makeRequest($url, $maxTries, ($tries + 1)); } else {