Node.js based forum software built for the modern web
fix: missing await
Barış Soner Uşaklı08ff4041aa16
diff --git a/src/groups/create.js b/src/groups/create.jsindex 8260e24fa8..637f919e6a 100644--- a/src/groups/create.js+++ b/src/groups/create.js@@ -40,7 +40,7 @@ module.exports = function (Groups) {disableLeave: disableLeave,};- plugins.fireHook('filter:group.create', { group: groupData, data: data });+ await plugins.fireHook('filter:group.create', { group: groupData, data: data });await db.sortedSetAdd('groups:createtime', groupData.createtime, groupData.name);await db.setObject('group:' + groupData.name, groupData);