Skip to content

Commit

Permalink
Quick fix in the api error exceptions for
Browse files Browse the repository at this point in the history
  • Loading branch information
brianluisgomez committed May 9, 2022
1 parent b2c4e97 commit dbf94d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Voice/Controllers/APIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ public function modifyCallBxml(

if ($response->code == 415) {
throw new Exceptions\ApiErrorException(
'We don\'t support that media type. If a request body is required, please send it to us as ' .
'`application/json`.',
'We don\'t support that media type for this endpoint. If a request body is required, please send it to us as ' .
'`application/xml`.',
$_httpContext
);
}
Expand Down

0 comments on commit dbf94d6

Please sign in to comment.