From 8636d149c5490ad763a76f5250548d3bbf1a8b20 Mon Sep 17 00:00:00 2001 From: yamanq Date: Sun, 1 Feb 2015 23:27:08 -0500 Subject: [PATCH] bug fixing --- chromebook-checkout-meteor/collections/carts.js | 4 +--- chromebook-checkout-meteor/collections/chromebooks.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/chromebook-checkout-meteor/collections/carts.js b/chromebook-checkout-meteor/collections/carts.js index 782dcdb..90f3004 100644 --- a/chromebook-checkout-meteor/collections/carts.js +++ b/chromebook-checkout-meteor/collections/carts.js @@ -9,7 +9,5 @@ carts.allow({ remove: function (userId, doc) { return Roles.userIsInRole(userId, ['admin']); }, - fetch: function (userId, doc) { - return (userId != null); - } + fetch: [] }); \ No newline at end of file diff --git a/chromebook-checkout-meteor/collections/chromebooks.js b/chromebook-checkout-meteor/collections/chromebooks.js index 01107cd..759cc02 100644 --- a/chromebook-checkout-meteor/collections/chromebooks.js +++ b/chromebook-checkout-meteor/collections/chromebooks.js @@ -9,7 +9,5 @@ Chromebooks.allow({ remove: function (userId, doc) { return Roles.userIsInRole(userId, ['admin']); }, - fetch: function (userId, doc) { - return (userId != null); - } + fetch: [] }); \ No newline at end of file