mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 00:56:13 +01:00
refactor: tab rules
This commit is contained in:
@@ -19,7 +19,7 @@ const socketHelpers = require('../socket.io/helpers');
|
||||
|
||||
module.exports = function (Posts) {
|
||||
Posts.getQueuedPosts = async (filter = {}, options = {}) => {
|
||||
options = { metadata: true, ...options }; // defaults
|
||||
options = { metadata: true, ...options }; // defaults
|
||||
let postData = _.cloneDeep(cache.get('post-queue'));
|
||||
if (!postData) {
|
||||
const ids = await db.getSortedSetRange('post:queue', 0, -1);
|
||||
|
||||
Reference in New Issue
Block a user