Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aed229b

Browse files
committed
2 parents ba9a8cb + 0218326 commit aed229b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_chapters/add-an-update-note-api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export async function main(event, context) {
3636
":attachment": data.attachment || null,
3737
":content": data.content || null
3838
},
39+
// 'ReturnValues' specifies if and how to return the item's attributes,
40+
// where ALL_NEW returns all attributes of the item after the update; you
41+
// can inspect 'result' below to see how it works with different settings
3942
ReturnValues: "ALL_NEW"
4043
};
4144

0 commit comments

Comments
 (0)