Skip to content

Commit

Permalink
chore: remove unnesessary required tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ucpr committed Jul 8, 2024
1 parent 1de97a2 commit a28f4d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const (

type MongoDB struct {
URI string `env:"URI, required"`
Password string `env:"PASSWORD, required"`
User string `env:"USER, required"`
Password string `env:"PASSWORD"`
User string `env:"USER"`
Database string `env:"DATABASE, required"`
Collection string `env:"COLLECTION, required"`
}
Expand Down

0 comments on commit a28f4d0

Please sign in to comment.