Fix new endpoint for login language

This commit is contained in:
Rene Vergara 2023-05-10 15:24:16 -05:00
parent 0afcaed076
commit e80411d8bd
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ routes pipe config = do
liftAndCatchIO $ run (deleteOrder oId)
status ok200
-- Get language for component
get "getloginlang" $ do
get "/getloginlang" $ do
lang <- param "lang"
txtPack' <- liftAndCatchIO $ run (findLangComponent lang "login")
case cast' . Doc =<< txtPack' of