Skip to content

Commit

Permalink
consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
kreynoldsf5 committed May 2, 2024
1 parent d28c1be commit 085304a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labapp/app/static/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function makeHttpRequest(buttonId, requestUrl, resultDivId) {
const response = await axios.get(requestUrl);
if (response.data.status === 'success') {
const prettyJson = JSON.stringify(response.data.data, null, 4);
resultDiv.innerHTML = `<div class="alert alert-success"><b>Request succeeded:</b><br><code>${prettyJson}</code></div>`;
resultDiv.innerHTML = `<div class="alert alert-success"><b>Request Succeeded:</b><br><code>${prettyJson}</code></div>`;
} else {
const errJson = JSON.stringify(response.data.error, null, 4);
resultDiv.innerHTML = `<div class="alert alert-danger"><b>Request Failed:</b><br<code>${errJson}</code></div>`;
Expand Down

0 comments on commit 085304a

Please sign in to comment.