From 21f7a068431700f33b60d44e3ede3f94aeb6ee20 Mon Sep 17 00:00:00 2001 From: Seppe Soete Date: Wed, 24 Aug 2022 12:26:10 +0200 Subject: [PATCH] fixed a typo (getRandomCatGif -> getRandomQuote) --- book/effects/json.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/effects/json.md b/book/effects/json.md index cc0ecb0b..09dd8e43 100644 --- a/book/effects/json.md +++ b/book/effects/json.md @@ -147,7 +147,7 @@ This example is pretty similar to the last one: - `update` handles the `GotQuote` message for whenever a new quote is available. Whatever happens there, we do not have any additional commands. It also handles the `MorePlease` message when someone presses the button, issuing a command to get more random quotes. - `view` shows you the quotes! -The main difference is in the `getRandomCatGif` definition. Instead of using `Http.expectString`, we have switched to `Http.expectJson`. What is the deal with that? +The main difference is in the `getRandomQuote` definition. Instead of using `Http.expectString`, we have switched to `Http.expectJson`. What is the deal with that? ## JSON