mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 13:49:43 +02:00
Add username to user
This commit is contained in:
parent
ec222a5e32
commit
af00e3e191
143 changed files with 1051 additions and 420 deletions
|
@ -2,7 +2,7 @@ module.exports = {
|
|||
inputs: {
|
||||
ids: {
|
||||
type: 'json',
|
||||
custom: value => _.isArray(value),
|
||||
custom: (value) => _.isArray(value),
|
||||
required: true,
|
||||
},
|
||||
user: {
|
||||
|
@ -26,7 +26,7 @@ module.exports = {
|
|||
.set(inputs.values)
|
||||
.fetch();
|
||||
|
||||
notifications.forEach(notification => {
|
||||
notifications.forEach((notification) => {
|
||||
sails.sockets.broadcast(
|
||||
`user:${notification.userId}`,
|
||||
'notificationUpdate',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue