Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Fix response for non return code responses
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jones committed Sep 6, 2018
1 parent dc98dfc commit 9e6415c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Vesta.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public function request($data) {
throw new \Exception("An Error Occured.", (int) $response);
break;
}

return (string) $response->getBody();
}

return (string) $response->getBody();
}
}

0 comments on commit 9e6415c

Please sign in to comment.