Skip to content

Commit

Permalink
refactor: fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed May 31, 2022
1 parent 732d374 commit 52e5f98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/integration/httpApi-headers/src/handler.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
'use strict'

exports.echoHeaders = async function get(event) {
const { stringify } = JSON

exports.echoHeaders = async function echoHeaders(event) {
return {
body: JSON.stringify({
body: stringify({
headersReceived: event.headers,
}),
statusCode: 200,
Expand Down

0 comments on commit 52e5f98

Please sign in to comment.