Skip to content

Commit

Permalink
fix kevaPending return value
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost committed Dec 6, 2023
1 parent 34ffb54 commit 49dd808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ public function kevaPending(): ?array

$response = $this->_execute();

if (!empty($response) && is_array($response))
if (!empty($response['result']) && is_array($response['result']))
{
return $response;
return $response['result'];
}

return null;
Expand Down

0 comments on commit 49dd808

Please sign in to comment.