Skip to content

Commit

Permalink
Update DiscordWebhook.php
Browse files Browse the repository at this point in the history
  • Loading branch information
renzbobz committed Feb 8, 2023
1 parent 39a27f3 commit 951d149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DiscordWebhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public function send($opts=null) {
$success = $code >= 200 && $code < 299;
$body = $this->parseJSON ? $this->_silentJSONParse($res) : $res;

return [
return (object) [
'success' => $success,
'body' => $body,
'code' => $code,
Expand Down

0 comments on commit 951d149

Please sign in to comment.