@radb0310 said in Please help me: TypeError: The result of expression 'result' [153,136,234,130] is not a function:
How do I detect that the result function has been overridden,
There is a code: "result = ..." in your script
I am running a javascript action that attempts to do a GET request using fetch. I am using the exact example that shows up in documentation for that rule.
async function getPost(id) {
return await fetch(`https://jsonplaceholder.typicode.com/posts/` + id)
.then((res) => res.json());
}
[[POST]] = await getPost(1);
However, when I call this code it always fails with the message "TypeError: Failed to fetch". Does anyone know what I'm doing wrong?