Node.js based forum software built for the modern web
refactor: match core field name pinned
Barış Soner Uşaklı478ed6c16ff8
diff --git a/src/topics/tools.js b/src/topics/tools.jsindex b91ddebd79..2fdd0d445c 100644--- a/src/topics/tools.js+++ b/src/topics/tools.js@@ -138,7 +138,8 @@ module.exports = function (Topics) {await Promise.all(promises);- topicData.isPinned = pin;+ topicData.isPinned = pin; // deprecate in v2.0+ topicData.pinned = pin;plugins.fireHook('action:topic.pin', { topic: _.clone(topicData), uid: uid });