Lots of changes and additions to the project. Still early, and not usable.

This commit is contained in:
Brian McGonagill 2022-08-15 18:07:39 -05:00
parent 8636f8cf9b
commit 266dbd0856
41 changed files with 836 additions and 67 deletions

View file

@ -20,10 +20,12 @@ Meteor.methods({
throw new Meteor.Error('You are not allowed to add stores. Make sure you are logged in with valid user credentials.');
}
console.log(" ---- userid: " + Meteor.user()._id);
return Stores.insert({
storeName: storeName,
storeType: storeType,
owner: this.userid,
owner: Meteor.user()._id,
});
},
'edit.store' (storeId, storeName, storeType) {