Fix small typo

This commit is contained in:
Amine Ben hammou
2019-06-19 14:05:17 +01:00
committed by M. Shull
parent 5ff0435ddd
commit 022cfb6303

View File

@ -47,7 +47,7 @@ class SendingTaskSubscribers extends APIEndpoint {
->findArray();
if (empty($tasks_ids)) {
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');