Skip to content

Commit

Permalink
fix(config): duplicate key "key" (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
RanKKI authored Jan 14, 2024
1 parent 0707d38 commit 9532499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 9532499

Please # to comment.