mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-17 11:50:51 +00:00
Fix the API key issue by reordering the default keys
This commit is contained in:
@ -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(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user