refactor: separate reading file from parsing it

This commit is contained in:
steve-chavez
2020-07-13 11:30:16 -05:00
committed by Steve Chavez
parent 343e41c51d
commit 896b79f05b
3 changed files with 95 additions and 83 deletions
+2
View File
@@ -90,6 +90,8 @@ _baseCfg = -- Connection Settings
Nothing
-- Raw output media types
[]
-- Config path
Nothing
testCfg :: Text -> AppConfig
testCfg testDbConn = _baseCfg { configDbUri = testDbConn }