chore(avs): add newlines to results of avs test queries

This commit is contained in:
Steffen Jost 2022-12-12 17:14:27 +01:00
parent 3596809192
commit b1adf99147

View File

@ -104,7 +104,7 @@ postAdminAvsR = do
res <- avsQueryPerson fr
case res of
Left err -> return . Just $ tshow err
Right jsn -> return . Just $ tshow jsn
Right jsn -> return . Just $ Text.replace "},Avs" "},\n Avs" $ tshow jsn
mbPerson <- formResultMaybe presult procFormPerson
((sresult, swidget), senctype) <- runFormPost $ makeAvsStatusForm Nothing
@ -113,7 +113,7 @@ postAdminAvsR = do
res <- avsQueryStatus fr
case res of
Left err -> return . Just $ tshow err
Right jsn -> return . Just $ tshow jsn
Right jsn -> return . Just $ Text.replace "},Avs" "},\n Avs" $ tshow jsn
mbStatus <- formResultMaybe sresult procFormStatus
((crUsrRes, crUsrWgt), crUsrEnctype) <- runFormPost $ identifyForm FIDAvsCreateUser $ \html ->