Fix typo in the postgres yaml name
This commit is contained in:
parent
2aa6f989a6
commit
b9bc2ee1c5
@ -53,7 +53,7 @@ loadConfig env = do
|
|||||||
|
|
||||||
loadPostgresqlConnStr :: AppEnvironment -> IO Text
|
loadPostgresqlConnStr :: AppEnvironment -> IO Text
|
||||||
loadPostgresqlConnStr env = do
|
loadPostgresqlConnStr env = do
|
||||||
allSettings <- (join $ YAML.decodeFile ("config/postgesql.yml" :: String)) >>= fromMapping
|
allSettings <- (join $ YAML.decodeFile ("config/postgresql.yml" :: String)) >>= fromMapping
|
||||||
settings <- lookupMapping (show env) allSettings
|
settings <- lookupMapping (show env) allSettings
|
||||||
database <- lookupScalar "database" settings :: IO Text
|
database <- lookupScalar "database" settings :: IO Text
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user