mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
c817b7b937
@ -386,6 +386,12 @@ class ClientController extends BaseController
|
||||
|
||||
$response = $postmark->activateBounce((int)$bounce_id);
|
||||
|
||||
if($response && $response?->Message == 'OK' && !$response->Bounce->Inactive && $response->Bounce->Email){
|
||||
|
||||
$email = $response->Bounce->Email;
|
||||
//remove email from quarantine. //@TODO
|
||||
}
|
||||
|
||||
return response()->json(['message' => 'Success'], 200);
|
||||
|
||||
} catch(\Exception $e) {
|
||||
|
@ -528,7 +528,7 @@ class TaskController extends BaseController
|
||||
return response()->json(['message' => $hash_or_response], 200);
|
||||
}
|
||||
|
||||
$tasks->each(function ($task, $key) use ($action, $user) {
|
||||
$tasks->each(function ($task) use ($action, $user) {
|
||||
if ($user->can('edit', $task)) {
|
||||
$this->task_repo->{$action}($task);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user