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