diff --git a/config/config.go b/config/config.go index 7cdee34bf..32b7b510f 100644 --- a/config/config.go +++ b/config/config.go @@ -57,7 +57,7 @@ type AppConfig struct { MeiliSearch struct { URL string `yaml:"url" env:"MEILISEARCH_URL"` Key string `yaml:"key" env:"MEILISEARCH_KEY"` - Timeout time.Duration `yaml:"key" env:"MEILISEARCH_REQUEST_TIMEOUT" env-default:"2s"` + Timeout time.Duration `yaml:"timeout" env:"MEILISEARCH_REQUEST_TIMEOUT" env-default:"2s"` } `yaml:"meilisearch"` SearchBatchSize int `env:"SEARCH_BATCH_SIZE" yaml:"batch_size" env-default:"100"`