Fix the API key issue by reordering the default keys

This commit is contained in:
Clément Renault 2025-06-04 14:50:20 +02:00
parent 92d0d36ff6
commit cf2bc03bed
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -350,9 +350,9 @@ pub struct IndexSearchRules {
}
fn generate_default_keys(store: &HeedAuthStore) -> Result<()> {
store.put_api_key(Key::default_chat())?;
store.put_api_key(Key::default_admin())?;
store.put_api_key(Key::default_search())?;
store.put_api_key(Key::default_chat())?;
Ok(())
}