Use new strictProtect (arguments were flipped)
This commit is contained in:
parent
961c08bdac
commit
d692c05cdb
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ api :: Proxy API
|
|||
api = Proxy
|
||||
|
||||
server :: Server API
|
||||
server = strictProtect isGoodCookie (const (return prvdata)) cookieAuthHandlers
|
||||
server = strictProtect isGoodCookie cookieAuthHandlers (const (return prvdata))
|
||||
:<|> return pubdata
|
||||
|
||||
where prvdata = [PrivateData "this is a secret"]
|
||||
|
|
Loading…
Reference in a new issue