From ed931d879583c71712ffca48405aa589c6b832f3 Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Sat, 1 Mar 2025 16:43:40 -0600 Subject: [PATCH] docs: readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd362fb..b46923b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ getPersonAddress _ (Path id) = ... type Person = { firstName :: String, lastName :: String, age :: Maybe Int } postPerson :: Post -> Path "persons" Unit -> ContentType Json -> Json Person -> Aff Response -postPerson _ _ person = ... +postPerson _ _ _ person = ... ``` Then these can be rolled up into a `/persons` resource with `Handler.or`: