Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hbhossein committed Oct 18, 2023
1 parent 99ef4af commit 8e6607b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function setResponse($httpResponse)
}

return $this;
}
}

public function getStatusCode()
{
Expand Down Expand Up @@ -58,8 +58,8 @@ private function parseJson($json)

if (!$this->isSuccessful()) {
return [
'error' => $data['errors'][0]['errorDetail'],
'errorCode' => $data['errors'][0]['errorCode']
'error' => $data['errors'][0]['message'],
'errorCode' => $data['errors'][0]['code']
];
}

Expand Down
1 change: 1 addition & 0 deletions src/Services/SignatureService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Jooyeshgar\Moadian\Services;

use Carbon\Carbon;
use Firebase\JWT\JWT;

class SignatureService
Expand Down

0 comments on commit 8e6607b

Please sign in to comment.