Fix typo in config.go
This commit is contained in:
parent
61171b00af
commit
be39f151c7
|
@ -33,7 +33,7 @@ func NewFromEnv() (Config, error) {
|
|||
case "":
|
||||
return Config{}, errors.New("ENV not set")
|
||||
default:
|
||||
return Config{}, fmt.Errorf("invalid ENVIRONMENT value: %s", envString)
|
||||
return Config{}, fmt.Errorf("invalid ENV value: %s", envString)
|
||||
}
|
||||
|
||||
databaseURL := os.Getenv("DATABASE_URL")
|
||||
|
|
Loading…
Reference in New Issue