Skip to content

Commit

Permalink
cs.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jul 7, 2017
1 parent aaa91be commit 7289029
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Gateways/HuaxinGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function send($to, MessageInterface $message, Config $config)
]);

if ($result['returnstatus'] !== 'Success') {
throw new GatewayErrorException($result['message'], 500, $result);
throw new GatewayErrorException($result['message'], 400, $result);
}

return $result;
Expand All @@ -64,7 +64,6 @@ public function send($to, MessageInterface $message, Config $config)
* Build endpoint url.
*
* @param string $ip
* @param string $port
*
* @return string
*/
Expand Down

0 comments on commit 7289029

Please sign in to comment.