-
-
Save richardgrantserverless/b55e213b9a9aca3f5a657ef3c0b83abc 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
const params = { | |
// PCJ: Minor change from original, use environment variable for stage sensitive table name | |
TableName: process.env.TABLE_NAME, | |
Item: { | |
id: uuid.v1(), | |
text: data.text, | |
checked: false, | |
createdAt: timestamp, | |
updatedAt: timestamp, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment