remove the filter for just things i create

This commit is contained in:
Brian McGonagill 2022-08-23 16:18:24 -05:00
parent e4073d0de0
commit fe8f56654b

View file

@ -21,7 +21,7 @@ Meteor.publish('userList', function() {
Meteor.publish("storeInfo", function() {
try {
return Stores.find({ owner: this.userId });
return Stores.find({});
} catch (error) {
console.log(" ERROR pulling store data: " + error);
}
@ -29,7 +29,7 @@ Meteor.publish("storeInfo", function() {
Meteor.publish("myProducts", function() {
try {
return Products.find({ prodOwner: this.userId });
return Products.find({});
} catch (error) {
console.log(" ERROR pulling product data: " + error);
}
@ -37,7 +37,7 @@ Meteor.publish("myProducts", function() {
Meteor.publish("myCategories", function() {
try {
return Categories.find({ categoryOwner: this.userId });
return Categories.find({});
} catch (error) {
console.log(" ERROR pulling category data: " + error);
}
@ -45,7 +45,7 @@ Meteor.publish("myCategories", function() {
Meteor.publish("myLocations", function() {
try {
return Locations.find({ owner: this.userId });
return Locations.find({});
} catch (error) {
console.log(" ERROR pulling location data: " + error);
}