wip trying to create first instance of chatroom in db

This commit is contained in:
hugogogo
2023-01-06 16:56:36 +01:00
parent 89d25d15f5
commit 23105600a5
8 changed files with 60 additions and 47 deletions

View File

@@ -34,8 +34,12 @@
});
response_data = await response.json();
console.log(response_data);
response_status = response_data.statusCode;
response_message = response_data.message;
if (response_data.statusCode)
response_status = response_data.statusCode;
else
response_status = 200;
if (response_data.message)
response_message = response_data.message;
}
</script>