|
|
@ -99,7 +99,7 @@ class TeamController extends Controller |
|
|
|
$player = Player::where('twitter_user_id', $profile->id_str)->first(); |
|
|
|
if(!$player) { |
|
|
|
$player = new Player; |
|
|
|
$player->twitter_user_id = $profile->id; |
|
|
|
$player->twitter_user_id = $profile->id_str; |
|
|
|
} |
|
|
|
$player->team_id = $request->input('team'); |
|
|
|
$player->name = $profile->name; |
|
|
|