From bd99729656f8dc5b66d7aaad06309098c1899d64 Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Fri, 24 May 2019 15:45:36 +0000 Subject: [PATCH] Loading settings was using deprecated functions, switch to new ones --- src/Vervis/Application.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vervis/Application.hs b/src/Vervis/Application.hs index 63bb223..254c92f 100644 --- a/src/Vervis/Application.hs +++ b/src/Vervis/Application.hs @@ -232,7 +232,7 @@ getApplicationDev = do return (wsettings, app) getAppSettings :: IO AppSettings -getAppSettings = loadAppSettings [configSettingsYml] [] useEnv +getAppSettings = loadYamlSettings [configSettingsYml] [] useEnv -- | main function for use by yesod devel develMain :: IO () @@ -271,7 +271,7 @@ mailer foundation = appMain :: IO () appMain = do -- Get the settings from all relevant sources - settings <- loadAppSettingsArgs + settings <- loadYamlSettingsArgs -- Fall back to compile-time values, set to [] to require values at -- runtime [configSettingsYmlValue]