Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little bug fix for 2017-03-03-servant-and-db.markdown #61

Open
p-alik opened this issue Oct 21, 2019 · 0 comments
Open

little bug fix for 2017-03-03-servant-and-db.markdown #61

p-alik opened this issue Oct 21, 2019 · 0 comments
Assignees

Comments

@p-alik
Copy link

p-alik commented Oct 21, 2019

Thank you for the post. Would you apply the patch, please.

$ git diff posts/2017-03-03-servant-and-db.markdown 
diff --git a/posts/2017-03-03-servant-and-db.markdown b/posts/2017-03-03-servant-and-db.markdown
index 6c62dc2..dc181c7 100644
--- a/posts/2017-03-03-servant-and-db.markdown
+++ b/posts/2017-03-03-servant-and-db.markdown
@@ -134,7 +134,7 @@ app' :: Pool Connection -> Logger -> Application
 app' pool logger = serve api $ hoistServer api nt $ createCat' :<|> readCat'
   where
     nt :: H x -> Handler x
-    nt m -> runLogT "api" logger (runReaderT (runH m) pool)
+    nt m = runLogT "api" logger (runReaderT (runH m) pool)
@phadej phadej self-assigned this Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants