Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 306d5b3

Browse files
Now it's working
1 parent 26ee868 commit 306d5b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎functions/save.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ exports.handler = function(event, context, callback) {
6161

6262
callback(null, {
6363
statusCode: 200,
64-
body: JSON.stringify({status: "File sucessfully uploaded"}),
64+
body: "File sucessfully uploaded",
6565
});
6666
});
6767
} catch (error) {

‎public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h2>Result:</h2>
6868
console.log(res);
6969
document.querySelector(
7070
"#result"
71-
).innerHTML = `Result: <b>${res.body.status}</b>`;
71+
).innerHTML = `Result: <b>${res}</b>`;
7272
});
7373
}
7474

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /