mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
Keep name consistent with others
This commit is contained in:
parent
c15763f910
commit
fb9170b8e3
2 changed files with 2 additions and 2 deletions
|
@ -351,7 +351,7 @@ pub struct IndexSearchRules {
|
||||||
|
|
||||||
fn generate_default_keys(store: &HeedAuthStore) -> Result<()> {
|
fn generate_default_keys(store: &HeedAuthStore) -> Result<()> {
|
||||||
store.put_api_key(Key::default_chat())?;
|
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_admin())?;
|
||||||
store.put_api_key(Key::default_search())?;
|
store.put_api_key(Key::default_search())?;
|
||||||
|
|
||||||
|
|
|
@ -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 now = OffsetDateTime::now_utc();
|
||||||
let uid = Uuid::new_v4();
|
let uid = Uuid::new_v4();
|
||||||
Self {
|
Self {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue