From 52b85b533bb56ae45a274f7090194772643b63d1 Mon Sep 17 00:00:00 2001 From: aymm Date: Thu, 11 Mar 2021 16:27:58 +0000 Subject: [PATCH] typo --- src/APnutI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/APnutI.php b/src/APnutI.php index 3a2a1d8..6120aff 100644 --- a/src/APnutI.php +++ b/src/APnutI.php @@ -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);