mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
minor changes
This commit is contained in:
parent
f5dfedf8fa
commit
9792ab71dc
@ -117,7 +117,7 @@ class MailgunController extends BaseController
|
|||||||
|
|
||||||
if (!array_key_exists('recipient', $input) || !array_key_exists('message-url', $input)) {
|
if (!array_key_exists('recipient', $input) || !array_key_exists('message-url', $input)) {
|
||||||
Log::info('Failed: Message could not be parsed, because required parameters are missing. Please ensure contacting this api-endpoint with a store & notify operation instead of a forward operation!');
|
Log::info('Failed: Message could not be parsed, because required parameters are missing. Please ensure contacting this api-endpoint with a store & notify operation instead of a forward operation!');
|
||||||
return response()->json(['message' => 'Failed. Missing Parameters'], 400);
|
return response()->json(['message' => 'Failed. Missing Parameters. Use store and notify!'], 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!array_key_exists('attachments', $input) || count(json_decode($input['attachments'])) == 0) {
|
if (!array_key_exists('attachments', $input) || count(json_decode($input['attachments'])) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user