diff --git a/lib/plugins.js b/lib/plugins.js index 4a2e60b8..b7db9695 100644 --- a/lib/plugins.js +++ b/lib/plugins.js @@ -675,7 +675,7 @@ exports.getcryptoCodes = function getcryptoCodes () { } function sendMessage (rec) { - const pluginTypes = JSON.parse(cachedConfig.exchanges.plugins.current.notify) + const pluginTypes = cachedConfig.exchanges.plugins.current.notify const pluginPromises = pluginTypes.map(pluginType => { if (pluginType === 'email') return emailPlugin.sendMessage(rec) if (pluginType === 'sms') return smsPlugin.sendMessage(rec)