- Changes newsletter object to array in SendingQueue router
- Schedules post notification right after its creation
This commit is contained in:
@@ -56,6 +56,8 @@ class Scheduler {
|
||||
}
|
||||
$relation->value = $schedule;
|
||||
$relation->save();
|
||||
return Newsletter::filter('filterWithOptions')
|
||||
->findOne($newsletter_id)->asArray();
|
||||
}
|
||||
|
||||
static function schedulePostNotification($post_id) {
|
||||
|
Reference in New Issue
Block a user