add carts as mongo collection
This commit is contained in:
parent
0d91daa858
commit
c8db2ba0bb
@ -45,6 +45,7 @@ Template.chromebook.events({
|
|||||||
Chromebooks.update(this._id, {$set: {status: 0}});
|
Chromebooks.update(this._id, {$set: {status: 0}});
|
||||||
Chromebooks.update(this._id, {$set: {last_checkout: null}});
|
Chromebooks.update(this._id, {$set: {last_checkout: null}});
|
||||||
Chromebooks.update(this._id, {$set: {userid: null}});
|
Chromebooks.update(this._id, {$set: {userid: null}});
|
||||||
|
Chromebooks.update(this._id, {$set: {user: null}});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
1
chromebook-checkout-meteor/collections/carts.js
Normal file
1
chromebook-checkout-meteor/collections/carts.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
carts = new Mongo.Collection("carts");
|
||||||
Loading…
x
Reference in New Issue
Block a user