Keep name consistent with others

This commit is contained in:
Mubelotix
2025-06-27 09:40:30 +02:00
parent c15763f910
commit fb9170b8e3
2 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ pub struct IndexSearchRules {
fn generate_default_keys(store: &HeedAuthStore) -> Result<()> {
store.put_api_key(Key::default_chat())?;
store.put_api_key(Key::default_read_only_admin_key())?;
store.put_api_key(Key::default_read_only_admin())?;
store.put_api_key(Key::default_admin())?;
store.put_api_key(Key::default_search())?;

View File

@ -144,7 +144,7 @@ impl Key {
}
}
pub fn default_read_only_admin_key() -> Self {
pub fn default_read_only_admin() -> Self {
let now = OffsetDateTime::now_utc();
let uid = Uuid::new_v4();
Self {