diff --git a/README.md b/README.md index 346aeb0..00d95ac 100644 --- a/README.md +++ b/README.md @@ -115,9 +115,9 @@ actions: type: application/javascript script: >- var payload = JSON.parse(this.event.event); - if (payload.petal == "10" and payload.duration > 1000) { - console.log("longpress!"); - } + if (payload.petal == "10" and payload.duration > 1000) { + console.log("longpress!"); + } ```