Forgot jwt fixture, also hlint fix

This commit is contained in:
Joe Nelson
2016-09-24 21:32:47 -07:00
parent 12a8c682bd
commit 71bc666a8e
3 changed files with 66 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ runWithClaims conf eClaims app req =
(toS $ "{\"message\":\""<>message<>"\"}")
exposeSecretToSQL :: Maybe Text -> H.Transaction ()
exposeSecretToSQL mS = do
exposeSecretToSQL mS =
for_ mS $ \s ->
H.sql $ "set local postgrest.jwt_secret = " <> toS (pgFmtLit s) <> ";"