Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jayair committed Nov 1, 2018
2 parents ba9a8cb + 0218326 commit aed229b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _chapters/add-an-update-note-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export async function main(event, context) {
":attachment": data.attachment || null,
":content": data.content || null
},
// 'ReturnValues' specifies if and how to return the item's attributes,
// where ALL_NEW returns all attributes of the item after the update; you
// can inspect 'result' below to see how it works with different settings
ReturnValues: "ALL_NEW"
};

Expand Down

0 comments on commit aed229b

Please sign in to comment.