This commit is contained in:
aymm 2021-03-11 16:27:58 +00:00
parent 30a3bbd4a7
commit 52b85b533b

View File

@ -234,7 +234,7 @@ class APnutI
if ($http_status == 302) {
#echo json_encode(preg_match_all('/^Location:(.*)$/mi', $response, $matches));
$this->logger->debug("302 Redirect to {$this->redirect_target}");
throw new HttpPnutRedirectException($this->redirect_targe);
throw new HttpPnutRedirectException($this->redirect_target);
}
if (!empty($response)) {
$response = json_decode($response, true);