Syndicate bookmarks via jobs

This commit is contained in:
Jonny Barnes 2017-10-13 13:45:57 +01:00
parent 917a673f05
commit f007b24065
9 changed files with 161 additions and 10 deletions

View file

@ -105,10 +105,10 @@ class NoteService
//syndication targets
if (in_array('twitter', $data['syndicate'])) {
dispatch(new SyndicateToTwitter($note));
dispatch(new SyndicateNoteToTwitter($note));
}
if (in_array('facebook', $data['syndicate'])) {
dispatch(new SyndicateToFacebook($note));
dispatch(new SyndicateNoteToFacebook($note));
}
return $note;