Hello,
What’s wrong with this sub macro:
{
"Name": "08__mesaj_gonderildi_isaretleme_post_islemi",
"CreationDate": "2024-11-16",
"Commands": [
{
"Command": "executeScript",
"Target": "var data = {id: \"${mesajId}\",\n projeAdi: \"${projeAdi}\"\n};\n\n var url = \"https://x.com/hudhud/${markAsSendUrl}\";\n fetch(url, {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify(data)\n})\n.then(response => response.json())\n.then(result => { \n console.log('Başarılı:', result); \n return result; \n})\n.catch(error => { \n console.error('Hata:', error); \n return error; \n});",
"Value": "",
"Description": ""
}
]
}
[error]
Line 2 (Sub: 08__mesaj_gonderildi_isaretleme_post_islemi): Error in executeScript code: missing } after property list