Skip to content

Commit

Permalink
Merge pull request #7 from QuanticSchool/working
Browse files Browse the repository at this point in the history
client now reads response body
  • Loading branch information
John-J-Riehl authored May 31, 2022
2 parents 9d0240b + 61e7be3 commit 60cb6aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api-gateway/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/api-gateway-env
/api-gateway-env
application.zip
Binary file modified api-gateway/application.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Modal from './modal';
const healthCheck = () => {
fetch(gatewayUrl + '/health-check')
.then(response => response.json())
.then(data => alert("The server is alive and says " + data))
.then(data => alert("The server is alive and says " + data.body))
}

const App = () => {
Expand Down

0 comments on commit 60cb6aa

Please sign in to comment.