From 9c00f0313fffbb41ec9db25866919473ec24d2c3 Mon Sep 17 00:00:00 2001 From: Shjpr9 <67644313+Shjpr9@users.noreply.github.com> Date: Wed, 31 Jul 2024 20:01:08 +0330 Subject: [PATCH] Update CreditResponse.php CreditResponse return status code instead of data --- src/Objects/CreditResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Objects/CreditResponse.php b/src/Objects/CreditResponse.php index bdebcd5..de0bbca 100644 --- a/src/Objects/CreditResponse.php +++ b/src/Objects/CreditResponse.php @@ -24,7 +24,7 @@ class CreditResponse { * @param $response */ public function __construct($response) { - $this->Status = $response['data']; + $this->Status = $response['status']; $this->Message = $response['message']; $this->Data = $response['data']; }