mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 09:13:23 +03:00
ref: Remove board types, refactoring
This commit is contained in:
@@ -15,12 +15,12 @@ module.exports = {
|
||||
|
||||
const values = _.pick(inputs, ['isRead']);
|
||||
|
||||
const notifications = await sails.helpers.notifications.updateMany(
|
||||
inputs.ids.split(','),
|
||||
const notifications = await sails.helpers.notifications.updateMany.with({
|
||||
values,
|
||||
currentUser,
|
||||
this.req,
|
||||
);
|
||||
recordsOrIds: inputs.ids.split(','),
|
||||
user: currentUser,
|
||||
request: this.req,
|
||||
});
|
||||
|
||||
return {
|
||||
items: notifications,
|
||||
|
||||
Reference in New Issue
Block a user