change API_Exeption message: no line breaks

This commit is contained in:
Marc Michalsky forumZFD 2020-10-01 11:47:21 +02:00
parent cc3b14e32c
commit 96952b7253
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -41,8 +41,7 @@ class TwingleApiCall {
if (empty($response)) {
throw new \API_Exception(
"Twingle API call failed" . PHP_EOL .
"Please check your api key.");
"Twingle API call failed. Please check your api key.");
}
$this->organisationId = array_column($response, 'id');