mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 02:25:55 +01:00
fix: update post-queue hook names
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = function (Posts) {
|
||||
type: type,
|
||||
data: data,
|
||||
};
|
||||
payload = await plugins.fireHook('filter:post.queue', payload);
|
||||
payload = await plugins.fireHook('filter:post-queue.save', payload);
|
||||
payload.data = JSON.stringify(data);
|
||||
|
||||
await db.sortedSetAdd('post:queue', now, id);
|
||||
|
||||
Reference in New Issue
Block a user