Skip to content

Commit

Permalink
Apply linting for node12
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Feb 8, 2020
1 parent 702014e commit b530d06
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions template/node12/function/handler.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
"use strict"
'use strict'

module.exports = async (event, context) => {
let err;
const result = {
status: "Received input: " + JSON.stringify(event.body)
};
const result = {
'status': 'Received input: ' + JSON.stringify(event.body)
}

return context
.status(200)
.succeed(result);
return context
.status(200)
.succeed(result)
}

0 comments on commit b530d06

Please sign in to comment.