INNER CODE UNIT · JavaScript
getExecutionLog
mlevit/aws-auto-cleanup · web/src/js/index.js:291
function getExecutionLog(executionLogUrl) {
app.showExecutionLogPopup = true;
app.showExecutionLogLoadingGif = true;
fetch(API_EXECLOG + executionLogUrl, {
headers: {
"x-api-key": API_KEY,
},
})
.then((response) => response.json())
.then((data) => {
app.executionLogKey = decodeURIComponent(executionLogUrl);
app.executionLogTable = data["response"]["body"];
if (data["response"]["is_compressed"]) {
try {
let compressedData = Uint8Array.from(
atob(app.executionLogTable),