Syndicate bookmarks via jobs
This commit is contained in:
parent
917a673f05
commit
f007b24065
9 changed files with 161 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue