Use new strictProtect (arguments were flipped)

This commit is contained in:
aaron levin 2015-08-09 11:39:26 -04:00 committed by aaron levin
parent 961c08bdac
commit d692c05cdb

View file

@ -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"]