mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Commenting out console logging.
This commit is contained in:
parent
4687f27011
commit
d25ef56591
31 changed files with 87 additions and 87 deletions
|
|
@ -24,7 +24,7 @@ Meteor.methods({
|
|||
// we'll just edit that entry with updated information
|
||||
let userListInfo = await UserLast.findOneAsync({ userId: this.userId, view: view });
|
||||
if (!userListInfo) {
|
||||
console.log("Adding new user last item.");
|
||||
// console.log("Adding new user last item.");
|
||||
return await UserLast.insertAsync({
|
||||
userId: this.userId,
|
||||
view: view,
|
||||
|
|
@ -32,12 +32,12 @@ Meteor.methods({
|
|||
dateAdded: Date(),
|
||||
});
|
||||
} else {
|
||||
console.log("Editing existing user last itme.");
|
||||
// console.log("Editing existing user last itme.");
|
||||
// entry exists, call the edit function instead
|
||||
let result = await Meteor.callAsync('edit.userLast', view, viewId);
|
||||
if (!result) {
|
||||
try {
|
||||
console.log("Issue editing existing entry in userLast. Check the logs.");
|
||||
// console.log("Issue editing existing entry in userLast. Check the logs.");
|
||||
} catch(error) {
|
||||
console.log(" ERROR adding userLast item: " + error);
|
||||
console.log(error.message);
|
||||
|
|
@ -56,7 +56,7 @@ Meteor.methods({
|
|||
throw new Meteor.Error('Not able to change user view last setting. Make sure you are logged in with valid system administrator credentials.');
|
||||
}
|
||||
|
||||
console.log("Edit in progress.");
|
||||
// console.log("Edit in progress.");
|
||||
return await UserLast.updateAsync({ view: view, userId: this.userId }, {
|
||||
$set: {
|
||||
viewId: viewId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue