From 535bf8d4057bc6d42537903e9cb2357fd2bfd52d Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 9 Jan 2022 22:35:07 +0000 Subject: Off by one, oops --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e6a35a..8d2068c 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ import gleam/dynamic.{field, list, int, string} import gleam/result pub fn cat_from_json(json_string: String) -> Result { - let cat_decoder = dynamic.decode2( + let cat_decoder = dynamic.decode3( Cat, field("name", of: string), field("lives", of: int), -- cgit v1.2.3