Skip to content

Commit f2bae2f

Browse files
authored
Update ApiException.php
1 parent 5cb1e7b commit f2bae2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Exceptions/ApiException.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public function toJson($options = 0)
8888
public function jsonSerialize()
8989
{
9090
$jsonArray = [
91+
"message" => $this->getMessage(),
9192
"error" => [
9293
"message" => $this->getMessage(),
9394
"code" => $this->getCode()
@@ -106,4 +107,4 @@ public function jsonSerialize()
106107

107108
return $jsonArray;
108109
}
109-
}
110+
}

0 commit comments

Comments
 (0)