diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index f5b2ad589..fa4f36320 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -136,22 +136,12 @@ class Esi { $newToken->inserted_at = time(); $newToken->expires_in = $body->expires_in; - dd($newToken); - //Return the new token model return $newToken; - - /* - //Return the freshly saved token - return EsiToken::where([ - 'character_id' => $charId, - ])->first(); - */ - - } else { - //If we had a good token which has not expired yet, return the data - return $token; - } + } + + //If we had a good token which has not expired yet, return the data + return $token; } public function SetupEsiAuthentication($token = null) {