Browse Source
only push tweets to dashboard if a team is assigned
master
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
1 changed files with
1 additions and
1 deletions
-
app/Http/Controllers/TwitterController.php
|
|
@ -59,7 +59,7 @@ class TwitterController extends BaseController |
|
|
|
$tweet->tweet_date = date('Y-m-d H:i:s', strtotime($data['created_at'])); |
|
|
|
$tweet->save(); |
|
|
|
|
|
|
|
if($tweet->mission_id) { |
|
|
|
if($tweet->mission_id && $tweet->team_id) { |
|
|
|
event(new NewTweetEvent($tweet)); |
|
|
|
} |
|
|
|
|
|
|
|