diff --git a/AppSchema.json b/AppSchema.json index 43e3d4217..f4056eae1 100644 --- a/AppSchema.json +++ b/AppSchema.json @@ -4485,7 +4485,6 @@ "actionFunction": "payload.onMenuItemClick" } ], - "isTitleAllwaysVisible": true, "initialValues": { "code": "{ \n\"text\": \"Write here what you want to announce when there is no Formula.\"\n}" }, diff --git a/TaskServer/Session.js b/TaskServer/Session.js index 872258aad..87756700e 100644 --- a/TaskServer/Session.js +++ b/TaskServer/Session.js @@ -512,7 +512,7 @@ for (let i = 0; i < bot.SESSION.socialBots.bots.length; i++) { let socialBot = bot.SESSION.socialBots.bots[i] try { - let code = JSON.parse(announcement.code) + let code = announcement.code if (socialBot.id === announcement.referenceParent.id) { if (socialBot.type === "Telegram Bot") { if (announcement.formulaValue !== undefined) {