mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
@@ -75,7 +75,7 @@ module.exports = {
|
||||
'subscribeToOwnCards',
|
||||
]);
|
||||
|
||||
user = await sails.helpers.users.updateOne(user, values, this.req);
|
||||
user = await sails.helpers.users.updateOne(user, values, currentUser, this.req);
|
||||
|
||||
if (!user) {
|
||||
throw Errors.USER_NOT_FOUND;
|
||||
|
||||
Reference in New Issue
Block a user