diff --git a/src/services/Api.php b/src/services/Api.php index 7e58ccf..c42bdb8 100644 --- a/src/services/Api.php +++ b/src/services/Api.php @@ -163,7 +163,7 @@ public function paginatedAlbumRequest(array &$buffer, string $albumId, int $star 'start' => $start, ]; $responseBody = $this->cantoApiRequest('/album/' . $albumId, $params); - if (isset($responseBody['status']) && $responseBody['status' === 'error']) { + if (isset($responseBody['status']) && $responseBody['status'] === 'error') { return false; } $buffer = array_merge($buffer, $responseBody['results']);