Treat blank pre-request config as missing (#929)

This commit is contained in:
Joe Nelson
2017-08-09 08:42:32 -05:00
committed by GitHub
parent 0ed4215a0d
commit 9af539b51c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ readOptions = do
<*> (fromMaybe False . join . fmap coerceBool <$> C.key "secret-is-base64")
<*> (fromMaybe 10 . join . fmap coerceInt <$> C.key "db-pool")
<*> (join . fmap coerceInt <$> C.key "max-rows")
<*> C.key "pre-request"
<*> (mfilter (/= "") <$> C.key "pre-request")
<*> pure False
case mAppConf of