change Meteor.user() to ReactiveCache.getCurrentUser()

- see also: https://github.com/wekan/wekan/issues/5000
This commit is contained in:
Martin Filser 2023-07-31 22:37:55 +02:00
parent 4801e26b2f
commit bff96f6ae2
6 changed files with 10 additions and 10 deletions

View file

@ -1248,14 +1248,14 @@ Meteor.methods({
check(boardId, String);
check(listId, String);
check(width, Number);
const user = Meteor.user();
const user = ReactiveCache.getCurrentUser();
user.setListWidth(boardId, listId, width);
},
applySwimlaneHeight(boardId, swimlaneId, height) {
check(boardId, String);
check(swimlaneId, String);
check(height, Number);
const user = Meteor.user();
const user = ReactiveCache.getCurrentUser();
user.setSwimlaneHeight(boardId, swimlaneId, height);
},
});