From 02eaa84f1720c0a214adde4113864a19849333d7 Mon Sep 17 00:00:00 2001 From: edodge Date: Fri, 3 Jun 2016 12:36:11 -0400 Subject: [PATCH] Fix ntofication message path --- app/helpers/notifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/notifier.js b/app/helpers/notifier.js index 42c06bae..54f402ba 100644 --- a/app/helpers/notifier.js +++ b/app/helpers/notifier.js @@ -11,7 +11,7 @@ exports.message = function(n, request) { var total_transactions = n.dataValues.total_transactions; var monthNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; var batch_date = n.dataValues.batch_date.getDate() + ' ' + monthNames[n.dataValues.batch_date.getMonth()] + ' ' + n.dataValues.batch_date.getFullYear(); - var notification_sub_text = Translate('/notifications/message/1/block', request.auth.credentials); + var notification_sub_text = Translate('/notifications/message/1', request.auth.credentials); if (request.auth.credentials.lang === 'en_US') { msg = region_name + notification_sub_text[0] + total_transactions + notification_sub_text[1] + batch_date + notification_sub_text[2];