Skip to content

Commit

Permalink
Handle company deleted response
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Nov 22, 2023
1 parent 0992e6b commit 85595e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AbraFlexi/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ public function rawResponseToArray(string $responseRaw, string $format)
$this->nameSpace = 'winstrom';
$response = parent::rawResponseToArray($responseRaw, $format);
$this->nameSpace = $nsbackup;
} elseif ($responseRaw == 'ok') {
$response = ['success' => true];
} else {
$response = parent::rawResponseToArray($responseRaw, $format);
}
Expand Down

0 comments on commit 85595e6

Please sign in to comment.