From 2946f311245d0f3829d80f07144ad4a834e0f5e5 Mon Sep 17 00:00:00 2001 From: nova Date: Sat, 14 Dec 2019 18:48:08 +0530 Subject: [PATCH] fixed regression body was not included in post message fetch --- chatto/src/main/javascript/ts/src/view/ChatView.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/chatto/src/main/javascript/ts/src/view/ChatView.ts b/chatto/src/main/javascript/ts/src/view/ChatView.ts index 7a10b6f..5f77dfc 100644 --- a/chatto/src/main/javascript/ts/src/view/ChatView.ts +++ b/chatto/src/main/javascript/ts/src/view/ChatView.ts @@ -158,6 +158,7 @@ export class ChatView implements Observer { fetch(JsonAPI.MESSAGE_POST, { method: 'POST', headers: headers, + body: JSON.stringify(chatMessageDTO) }) .then(response => { log.debug(response);