From bda37ac27f11ba5dfba4e78d08144c1031696f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 7 Oct 2023 08:25:15 -0400 Subject: [PATCH] fix: edit notification key --- src/posts/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts/edit.js b/src/posts/edit.js index 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);