fixed regression body was not included in post message fetch

This commit is contained in:
nova 2019-12-14 18:48:08 +05:30
parent 601311fcf5
commit 2946f31124

View File

@ -158,6 +158,7 @@ export class ChatView implements Observer {
fetch(JsonAPI.MESSAGE_POST, { fetch(JsonAPI.MESSAGE_POST, {
method: 'POST', method: 'POST',
headers: headers, headers: headers,
body: JSON.stringify(chatMessageDTO)
}) })
.then(response => { .then(response => {
log.debug(response); log.debug(response);