Adds automatic email type to newsletter model/API listing method
This commit is contained in:
@ -377,7 +377,7 @@ class Newsletters extends APIEndpoint {
|
||||
->withSegments(true)
|
||||
->withSendingQueue()
|
||||
->withStatistics();
|
||||
} else if($newsletter->type === Newsletter::TYPE_WELCOME) {
|
||||
} else if($newsletter->type === Newsletter::TYPE_WELCOME || $newsletter->type === Newsletter::TYPE_AUTOMATIC) {
|
||||
$newsletter
|
||||
->withOptions()
|
||||
->withTotalSent()
|
||||
|
Reference in New Issue
Block a user