Node.js based forum software built for the modern web
fix: edit notification key
Barış Soner Uşaklıbda37ac27f11
diff --git a/src/posts/edit.js b/src/posts/edit.jsindex fed05baa63..a63f34cc48 100644--- a/src/posts/edit.js+++ b/src/posts/edit.js@@ -84,7 +84,7 @@ module.exports = function (Posts) {await topics.notifyFollowers(returnPostData, data.uid, {type: 'post-edit',- bodyShort: translator.compile('notifications:user_edited_post', editor.username, topic.title),+ bodyShort: translator.compile('notifications:user-edited-post', editor.username, topic.title),nid: `edit_post:${data.pid}:uid:${data.uid}`,});await topics.syncBacklinks(returnPostData);