summaryrefslogtreecommitdiff
path: root/src/server/PGFService.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/PGFService.hs')
-rw-r--r--src/server/PGFService.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PGFService.hs b/src/server/PGFService.hs
index 32e2e4e98..09714d7fa 100644
--- a/src/server/PGFService.hs
+++ b/src/server/PGFService.hs
@@ -46,7 +46,7 @@ cgiMain' cache path =
pgfMain pgf command
pgfMain :: PGF -> String -> CGI CGIResult
-pgfMain pgf command =
+pgfMain pgf command = do
case command of
"parse" -> outputJSONP =<< doParse pgf `fmap` getText `ap` getCat `ap` getFrom
"complete" -> outputJSONP =<< doComplete pgf `fmap` getText `ap` getCat `ap` getFrom `ap` getLimit