diff --git a/src/Listeners/CharacterFilterDataUpdatedTokens.php b/src/Listeners/CharacterFilterDataUpdatedTokens.php index 0dfee262f..b8f18a4d6 100644 --- a/src/Listeners/CharacterFilterDataUpdatedTokens.php +++ b/src/Listeners/CharacterFilterDataUpdatedTokens.php @@ -29,6 +29,7 @@ class CharacterFilterDataUpdatedTokens { public static function handle(CharacterFilterDataUpdate $update) { - CharacterSchedulingRule::updateRefreshTokenSchedule($update->character->refresh_token); + if (!is_null($update->character->refresh_token)) + CharacterSchedulingRule::updateRefreshTokenSchedule($update->character->refresh_token); } }