mirror of
https://github.com/plankanban/planka.git
synced 2025-07-25 08:09:44 +02:00
fix: Subscribe only when needed
This commit is contained in:
parent
58afeb1e6b
commit
6021d67a00
10 changed files with 28 additions and 23 deletions
|
@ -108,10 +108,6 @@ module.exports = {
|
|||
request: this.req,
|
||||
});
|
||||
|
||||
if (this.req.isSocket) {
|
||||
sails.sockets.join(this.req, `board:${board.id}`); // TODO: only when subscription needed
|
||||
}
|
||||
|
||||
return {
|
||||
item: board,
|
||||
included: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue