From dc9ea099397cf5159d7ce7950efc5c86daa28571 Mon Sep 17 00:00:00 2001 From: Chris Tremblay Date: Fri, 5 Jan 2024 14:42:19 -0500 Subject: [PATCH] Update PetStoreAssistantBot.java --- .../com/chtrembl/petstoreassistant/PetStoreAssistantBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java index c2028399..1b08ed4b 100644 --- a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java +++ b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java @@ -283,7 +283,7 @@ private CompletableFuture getDebug(TurnContext turnContext, String text, A if (text.contains("ball")) { - String jsonString = "{\"type\":\"image\",\"id\":\"image-ball\",\"data\":{\"url\": \"https://raw.githubusercontent.com/chtrembl/staticcontent/master/dog-toys/ball.jpg?raw=true\",\"alt\": \"This is a ball\",\"alt\": \"This is a ball blah blah blah, This is a ball blah blah blah\"}}"; + String jsonString = "{\"type\":\"image\",\"id\":\"image-ball\",\"data\":{\"url\": \"https://raw.githubusercontent.com/chtrembl/staticcontent/master/dog-toys/ball.jpg?raw=true\",\"alt\": \"This is a ball\",\"caption\": \"This is a ball blah blah blah, This is a ball blah blah blah\"}}"; Attachment attachment = new Attachment(); attachment.setContentType("application/json");