Replies: 1 comment
-
This is telling you there's a syntax error in your script. Specifically, it's not expecting a I don't see anything obvious, but I'd look more closely at the proceeding line, which has single, double, template quotes, template evluation, and parens 🙈 My guess is one of those isn't closed or maybe isn't escaped? You may be able to simplify to: json = {id: text}
data = JSON.stringify({
json: JSON.stringify(json)
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I write hubot script in javascript.
I want to create a hubot function to send post http to a webhook.
But when run hubot I get the next message:
Beta Was this translation helpful? Give feedback.
All reactions