Arcader7171 commited on
Commit
d09aff3
·
verified ·
1 Parent(s): feafda6

Update templates/app.html

Browse files
Files changed (1) hide show
  1. templates/app.html +2 -5
templates/app.html CHANGED
@@ -64,11 +64,8 @@
64
  if (!response.ok) {
65
  throw new Error("Response did not return ok");
66
  }
67
- response.json()
68
- })
69
- .then((data) => {
70
- console.log(data);
71
- // addMsg2View(data);
72
  })
73
  .catch(error => {
74
  console.error("Error - ", error.message);
 
64
  if (!response.ok) {
65
  throw new Error("Response did not return ok");
66
  }
67
+ response.json();
68
+ addMsg2View(response);
 
 
 
69
  })
70
  .catch(error => {
71
  console.error("Error - ", error.message);