Use new strictProtect (arguments were flipped)
This commit is contained in:
parent
4efee63380
commit
a1628946c1
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,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