mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
cleanup
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
//
|
||||
use rand::RngCore;
|
||||
use reqwest::blocking::Client;
|
||||
use std::collections::HashMap;
|
||||
|
||||
@@ -16,7 +16,8 @@ pub struct TokenData {
|
||||
|
||||
pub account_id: Option<String>,
|
||||
}
|
||||
|
||||
/// Returns true if this is a plan that should use the traditional
|
||||
/// "metered" billing via an API key.
|
||||
impl TokenData {
|
||||
pub(crate) fn is_plan_that_should_use_api_key(&self) -> bool {
|
||||
self.id_token
|
||||
|
||||
Reference in New Issue
Block a user