Skip to content

Commit

Permalink
Update CreditResponse.php
Browse files Browse the repository at this point in the history
CreditResponse return status code instead of data
  • Loading branch information
Shjpr9 authored Jul 31, 2024
1 parent 85755b3 commit 9c00f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Objects/CreditResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
Expand Down

0 comments on commit 9c00f03

Please sign in to comment.