mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
reimplement Data
This commit is contained in:
parent
55e1552957
commit
0d7c4beecd
5 changed files with 44 additions and 23 deletions
|
@ -147,7 +147,7 @@ pub fn print_launch_resume(opt: &Opt, data: &Data) {
|
|||
|
||||
eprintln!();
|
||||
|
||||
if data.api_keys.master.is_some() {
|
||||
if data.api_keys().master.is_some() {
|
||||
eprintln!("A Master Key has been set. Requests to MeiliSearch won't be authorized unless you provide an authentication key.");
|
||||
} else {
|
||||
eprintln!("No master key found; The server will accept unidentified requests. \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue