From 703043f6a4502c5457c797af77f68662b84d34a6 Mon Sep 17 00:00:00 2001 From: jean Date: Wed, 5 Jul 2023 02:40:10 -0400 Subject: [PATCH] fix typo --- src/Core/OAuth/OAuth2/OAuth2LoginHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php b/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php index ca7bffc2..eda072d8 100644 --- a/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php +++ b/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php @@ -371,7 +371,7 @@ public function getUserInfo($accessToken = null, $env = "production"){ $this->LogAPIResponseToLog($intuitResponse->getBody(), $url, $intuitResponse->getHeaders()); $this->faultHandler = $intuitResponse->getFaultHandler(); if($this->faultHandler) { - throw new ServiceException("Get UrerInfo failed. Body: [" . $this->faultHandler->getResponseBody() . "].", $this->faultHandler->getHttpStatusCode()); + throw new ServiceException("Get UserInfo failed. Body: [" . $this->faultHandler->getResponseBody() . "].", $this->faultHandler->getHttpStatusCode()); }else{ $this->faultHandler = false; }