Commit ddc7c9cb authored by diegolmello's avatar diegolmello
Browse files

[FIX] onStreamData args

parent 6698f2a2
......@@ -557,7 +557,7 @@ export class DDPDriver extends EventEmitter implements ISocket, IDriver {
}
onStreamData = (name: string, cb: ICallback): Promise<any> => {
return Promise.resolve(this.ddp.on(name, ({ fields: { args: [message] } }: any) => cb((message)))) as any
return Promise.resolve(this.ddp.on(name, (message: any) => cb((message)))) as any
}
onMessage = (cb: ICallback): void => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment