chore: fix the build breakage that came from a merge race

This commit is contained in:
Michael Bolin
2026-01-30 10:23:38 -08:00
parent 5662eb8b75
commit 51c4d20959

View File

@@ -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;
}