fix(core): update

This commit is contained in:
2019-06-07 11:49:10 +02:00
parent 57809d9b53
commit eb04abddbf
6 changed files with 43 additions and 13 deletions
+2 -2
View File
@@ -95,12 +95,12 @@ export class Universe {
const SubscriptionSocketFunction = new plugins.smartsocket.SocketFunction({
allowedRoles: [ClientRole], // there is only one client role, Authentication happens on another level
funcName: 'channelSubscription',
funcDef: async (dataArg, socketConnectionArg) => {
funcDef: async (dataArg: interfaces.IServerCallSubscribeActionPayload, socketConnectionArg) => {
// run in "this context" of this class
(() => {
// TODO: properly add the connection
const universeConnection = new UniverseConnection({
authenticationRequest:
})
this.universeConnectionManager.addConnection();
})();