[Destiny] Hacky support for renamed accounts

 - 404s
parent 4d244998
Pipeline #862 passed with stages
in 3 minutes and 47 seconds
......@@ -44,6 +44,10 @@ class ProfileController extends Controller
->where('accountType', $console)
if (! isset($account->destiny)) {
\App::abort(404, 'This account no longer has Destiny Data. It must have been renamed.');
$games = GamePlayer::with('game')
->select('destiny_game_players.*', 'destiny_games.occurredAt')
->leftJoin('destiny_games', 'destiny_game_players.game_id', '=', 'destiny_games.instanceId')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment