diff --git a/app/graphql/index.js b/app/graphql/index.js index eeacb4007..e99363168 100644 --- a/app/graphql/index.js +++ b/app/graphql/index.js @@ -311,6 +311,8 @@ module.exports = function ( // // If we don't wait a tick `user` becomes undefined. process.nextTick(() => { clients.delete(webSocket); + + $injector.registerValue('ws-clients', clients); }); } },