removed redundant publications
This commit is contained in:
@@ -9,24 +9,6 @@ Meteor.publish('standardLibraries', function(){
|
||||
return Libraries.find({_id: {$in: standardLibraryIds}});
|
||||
});
|
||||
|
||||
Meteor.publish('standardLibraryItems', function(categoryKey){
|
||||
return LibraryItems.find({
|
||||
library: {$in: standardLibraryIds},
|
||||
'settings.category': categoryKey,
|
||||
}, {
|
||||
sort: {name: 1},
|
||||
});
|
||||
});
|
||||
|
||||
Meteor.publish('standardLibrarySpells', function(level){
|
||||
return LibrarySpells.find({
|
||||
library: {$in: standardLibraryIds},
|
||||
level,
|
||||
}, {
|
||||
sort: {name: 1},
|
||||
});
|
||||
});
|
||||
|
||||
Meteor.publish('libraries', function(){
|
||||
const user = Meteor.user();
|
||||
const userId = user && user._id;
|
||||
|
||||
Reference in New Issue
Block a user