mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
chore: fix the build breakage that came from a merge race
This commit is contained in:
@@ -120,8 +120,7 @@ impl CloudRequirementsService {
|
||||
|
||||
async fn fetch(&self) -> Option<ConfigRequirementsToml> {
|
||||
let auth = self.auth_manager.auth().await?;
|
||||
if !(auth.mode == AuthMode::ChatGPT
|
||||
&& auth.account_plan_type() == Some(PlanType::Enterprise))
|
||||
if !(auth.mode.is_chatgpt_auth() && auth.account_plan_type() == Some(PlanType::Enterprise))
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user