-
-
Save richardgrantserverless/a6d9ba940ad74ce080ef5c7e73a81f0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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