Browse Source

Fix WebSocketServer response incorrectly stringifying the payload

dev
David Ludwig 4 years ago
parent
commit
60badac3b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      packages/websocket-server/src/WebSocketServerService.ts

+ 1
- 1
packages/websocket-server/src/WebSocketServerService.ts View File

@ -131,7 +131,7 @@ export abstract class WebSocketServerService<M extends Microservice> extends Int
socket.send(JSON.stringify(<IWebSocketResponse>{
type: "response",
requestId: request.requestId,
payload: JSON.stringify(result)
payload: result
}));
}


Loading…
Cancel
Save