From fd72f411eaf8778ffef76f5ce2fdde0091c3c5ef Mon Sep 17 00:00:00 2001 From: Jonathan Lorimer Date: Sun, 14 Jul 2024 14:24:29 -0400 Subject: [PATCH] chore: fix examples --- examples/scotty/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/scotty/Main.hs b/examples/scotty/Main.hs index 6f12497..9c9d220 100644 --- a/examples/scotty/Main.hs +++ b/examples/scotty/Main.hs @@ -167,7 +167,7 @@ run' = do { sessionStoreGenerate = genBytes cprg , sessionStoreSave = saveState ssm sid , sessionStoreGet = getStateBy ssm sid - , sessionStoreDelete = deleteState ssm sid + , sessionStoreDelete = const $ deleteState ssm sid } blaze = html . renderHtml