Skip to content

Commit

Permalink
change line order back for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jdub233 committed Mar 13, 2024
1 parent 2a8a222 commit baafc03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export async function handler(event) {

// If the object is not found, return a 404 Not Found response.
if (response.Code === 'NoSuchKey') {
params.StatusCode = 404;
params.ErrorMessage = '404 Not Found';
params.StatusCode = 404;
} else {
// If the object is found, return its data with a 200 OK response.
params.Body = response.Body;
Expand Down

0 comments on commit baafc03

Please sign in to comment.