Node.js based forum software built for the modern web
fix: set
Barış Soner Uşaklıf83a3672cabb
diff --git a/src/posts/parse.js b/src/posts/parse.jsindex e51128b6e4..b8ce1dd3db 100644--- a/src/posts/parse.js+++ b/src/posts/parse.js@@ -72,7 +72,7 @@ module.exports = function (Posts) {Posts.clearCachedPost = function (pid) {const cache = require('./cache');- cache.del(allowedTypes.map(type => `${String(pid)}|${type}`));+ cache.del(Array.from(allowedTypes).map(type => `${String(pid)}|${type}`));};Posts.parseSignature = async function (userData, uid) {