change API_Exeption message: no line breaks
This commit is contained in:
parent
cc3b14e32c
commit
96952b7253
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ class TwingleApiCall {
|
||||||
|
|
||||||
if (empty($response)) {
|
if (empty($response)) {
|
||||||
throw new \API_Exception(
|
throw new \API_Exception(
|
||||||
"Twingle API call failed" . PHP_EOL .
|
"Twingle API call failed. Please check your api key.");
|
||||||
"Please check your api key.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->organisationId = array_column($response, 'id');
|
$this->organisationId = array_column($response, 'id');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue