Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

error message param changed as message_detail #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Api/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public function __construct($errorData = null)
*/
public function getText()
{
if (isset($this->errorData['message'])) {
return $this->errorData['message'];
if (isset($this->errorData['message_detail'])) {
return $this->errorData['message_detail'];
}

if (isset($this->errorData['code'])) {
Expand Down