mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
fix: Subscribe only when needed
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user