Fix typo in config.go

This commit is contained in:
Rob Watson 2021-11-22 21:39:23 +01:00
parent 61171b00af
commit be39f151c7
1 changed files with 1 additions and 1 deletions

View File

@ -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")