fpco-api 1.1.1 → 1.1.1.1
raw patch · 2 files changed
+2/−2 lines, 2 filesnew-uploader
Files
- fpco-api.cabal +1/−1
- src/library/FP/API/Run.hs +1/−1
fpco-api.cabal view
@@ -1,5 +1,5 @@ name: fpco-api-version: 1.1.1+version: 1.1.1.1 synopsis: Simple interface to the FP Complete IDE API. description: A server and library for communicating with the FP Complete IDE API. homepage: https://www.fpcomplete.com/page/api
src/library/FP/API/Run.hs view
@@ -66,7 +66,7 @@ runCommand :: (MonadLogger m,MonadClient m,Data a,Show a) => (Returns' a -> IdeCommand) -> m a runCommand cmd = do CC{..} <- getClientConfig- request <- parseUrl (T.unpack (ccUrl <> "/fay-command"))+ request <- io $ parseUrl (T.unpack (ccUrl <> "/fay-command")) jar <- io $ readIORef ccCookie let req = urlEncodedBody params $ setup ccToken request (Just jar) ccUserAgent $(logDebug) ("=> " <> trunc (T.pack (show (IdeCommand (cmd Returns)))))