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