From cea5fececbb1759b2ca6bcca56e84b41d3c36264 Mon Sep 17 00:00:00 2001 From: Kavyansh Khaitan <73186427+KavyanshKhaitan2@users.noreply.github.com> Date: Tue, 27 Jan 2026 20:00:29 +0530 Subject: [PATCH] Fix JSON syntax for JS examples (and make one of them more consistent) --- docs/publish.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/publish.md b/docs/publish.md index 864e605b..12341f01 100644 --- a/docs/publish.md +++ b/docs/publish.md @@ -1619,7 +1619,7 @@ And the same example using [JSON publishing](#publish-as-json): method: 'POST', body: JSON.stringify({ topic: "myhome", - message": "Somebody retweeted your tweet.", + message: "Somebody retweeted your tweet.", actions: [ { action: "view", @@ -1879,7 +1879,7 @@ And the same example using [JSON publishing](#publish-as-json): method: 'POST', body: JSON.stringify({ topic: "wifey", - message": "Your wife requested you send a picture of yourself.", + message: "Your wife requested you send a picture of yourself.", actions: [ { "action": "broadcast", @@ -2154,7 +2154,7 @@ And the same example using [JSON publishing](#publish-as-json): method: 'POST', body: JSON.stringify({ topic: "myhome", - "message": "Garage door has been open for 15 minutes. Close it?", + message: "Garage door has been open for 15 minutes. Close it?", actions: [ { "action": "http",