mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
minor cleanup
This commit is contained in:
@@ -304,7 +304,7 @@ var db = require('./database'),
|
||||
}
|
||||
callback(null, categories);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Categories.getCategoryField = function(cid, field, callback) {
|
||||
db.getObjectField('category:' + cid, field, callback);
|
||||
|
||||
Reference in New Issue
Block a user