Added callback afterGetItems on Listings
Updated MP Notice to allow reuse of notices (by id) Updated newsletters endpoint's listing method to include mta_log & mta_method in response Updated all newsletter listings in order to dynamically display mailer error
This commit is contained in:
committed by
Vlad
parent
8b96806b11
commit
80efc3c12d
@ -346,7 +346,9 @@ class Newsletters extends APIEndpoint {
|
||||
return $this->successResponse($data, array(
|
||||
'count' => $listing_data['count'],
|
||||
'filters' => $listing_data['filters'],
|
||||
'groups' => $listing_data['groups']
|
||||
'groups' => $listing_data['groups'],
|
||||
'mta_log' => Setting::getValue('mta_log'),
|
||||
'mta_method' => Setting::getValue('mta.method')
|
||||
));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user