Skip to content

Commit 74d6917

Browse files
committed
Fixed response code alignment
1 parent 22b1a4d commit 74d6917

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎test/handler.js‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/**
22
* @see AWS::Serverless::Function
33
*/
4-
exports.handler = function (event, context, callback) {
4+
exports.handler = function(event, context, callback) {
55
const response = {
66
status: '200',
77
statusDescription: 'OK',
88
headers: {
9-
'cache-control': [{
10-
key: 'Cache-Control',
11-
value: 'max-age=0'
12-
}],
13-
'content-type': [{
14-
key: 'Content-Type',
15-
value: 'text/html'
16-
}]
9+
'cache-control': [{
10+
key: 'Cache-Control',
11+
value: 'max-age=0'
12+
}],
13+
'content-type': [{
14+
key: 'Content-Type',
15+
value: 'text/html'
16+
}]
1717
},
1818
body: 'Success',
1919
};

0 commit comments

Comments
 (0)