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

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(())
}