mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
Fixed lint
This commit is contained in:
@@ -1598,12 +1598,7 @@ async fn load_stored_refresh_token_if_identity_matches(
|
||||
return Ok(None);
|
||||
};
|
||||
|
||||
if !tokens
|
||||
.id_token
|
||||
.chatgpt_account_id
|
||||
.as_deref()
|
||||
.is_some_and(|account_id| account_id == expected_account_id)
|
||||
{
|
||||
if tokens.id_token.chatgpt_account_id.as_deref() != Some(expected_account_id) {
|
||||
return Ok(None);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user