Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created May 16, 2022 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/a6d9ba940ad74ce080ef5c7e73a81f0d to your computer and use it in GitHub Desktop.
Save richardgrantserverless/a6d9ba940ad74ce080ef5c7e73a81f0d to your computer and use it in GitHub Desktop.
// create a response
const response = {
statusCode: 200,
// PCJ: Minor change from original, return full item inserted instead of empty result
// body: JSON.stringify(result.Item),
body: JSON.stringify(params.Item),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment