This commit is contained in:
Eason Goodale
2025-08-11 23:41:41 -07:00
parent e5b2703374
commit 7cad669e09
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -1,4 +1,3 @@
//
use rand::RngCore;
use reqwest::blocking::Client;
use std::collections::HashMap;
+2 -1
View File
@@ -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