widlam/fixes/fixed_message_cleaning_bug #234

Merged
bema merged 4 commits from widlam/fixes/fixed_message_cleaning_bug into master 2023-06-26 10:26:19 +02:00
Showing only changes of commit 186773243c - Show all commits

View File

@@ -15,6 +15,7 @@ const visible = ref('hidden');
const fetchLink = window.location.protocol + "//" + window.location.hostname + "/mock/api/mock"
function prepareAndSendData(){
console.log(JSON.stringify(props.messageData))
if (props.messageData != null|| props.messageData != undefined ){
fetch(fetchLink, { method: "put", body:JSON.stringify(props.messageData), headers: { "Content-Type" : "application/json" }})
.then( response => response.text() )