diff --git a/app/Http/Controllers/TeamController.php b/app/Http/Controllers/TeamController.php index 1c92d64..68f4e62 100644 --- a/app/Http/Controllers/TeamController.php +++ b/app/Http/Controllers/TeamController.php @@ -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;