Fix small typo
This commit is contained in:
committed by
M. Shull
parent
5ff0435ddd
commit
022cfb6303
@ -47,7 +47,7 @@ class SendingTaskSubscribers extends APIEndpoint {
|
|||||||
->findArray();
|
->findArray();
|
||||||
if (empty($tasks_ids)) {
|
if (empty($tasks_ids)) {
|
||||||
return $this->errorResponse([
|
return $this->errorResponse([
|
||||||
APIError::NOT_FOUND => __( 'This email has not been sent yet.', 'mailpoet'),
|
APIError::NOT_FOUND => __('This email has not been sent yet.', 'mailpoet'),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
$data['params']['task_ids'] = array_column($tasks_ids, 'task_id');
|
$data['params']['task_ids'] = array_column($tasks_ids, 'task_id');
|
||||||
|
Reference in New Issue
Block a user