Use new strictProtect (arguments were flipped)

This commit is contained in:
aaron levin 2015-08-09 11:39:26 -04:00 committed by Arian van Putten
parent 4efee63380
commit a1628946c1

View file

@ -86,7 +86,7 @@ api :: Proxy API
api = Proxy api = Proxy
server :: Server API server :: Server API
server = strictProtect isGoodCookie (const (return prvdata)) cookieAuthHandlers server = strictProtect isGoodCookie cookieAuthHandlers (const (return prvdata))
:<|> return pubdata :<|> return pubdata
where prvdata = [PrivateData "this is a secret"] where prvdata = [PrivateData "this is a secret"]