diff --git a/framework/src/controller/channels/ipc_channel.ts b/framework/src/controller/channels/ipc_channel.ts index 0ea97040aba..6fd5cf09b78 100644 --- a/framework/src/controller/channels/ipc_channel.ts +++ b/framework/src/controller/channels/ipc_channel.ts @@ -146,7 +146,7 @@ export class IPCChannel extends BaseChannel { await this.startAndListen(); // Register channel details let endpointInfo: { [key: string]: EndpointInfo } = {}; - endpointInfo = Object.keys(this.endpointHandlers).reduce((accumulator, value: string) => { + endpointInfo = Array.from(this.endpointHandlers.keys()).reduce((accumulator, value: string) => { accumulator[value] = { method: value, namespace: this.namespace,