Skip to content

Commit 3d66e37

Browse files
committed
Update readme
1 parent 2575355 commit 3d66e37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ This opens the door for interesting **UI driven scenarios**, where the user simp
77
As an example, here's a simple Node.js function that receives a queue message and writes that message to Azure Blob storage:
88

99
```javascript
10-
module.exports = function (workItem, context) {
10+
module.exports = function (context, workItem) {
1111
context.log('Node.js queue trigger function processed work item ' + workItem.id);
12-
context.done(null, workItem);
12+
context.bindings.receipt = workItem;
13+
context.done();
1314
}
1415
```
1516

0 commit comments

Comments
 (0)