Skip to content

Commit b466b83

Browse files
committed
Azure Functions - JS - Context.done 2
1 parent 845a326 commit b466b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/functions-bindings-return-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ In JavaScript, the return value goes in the context.body:
124124
module.exports = function (context, input) {
125125
var json = JSON.stringify(input);
126126
context.log('Node.js script processed queue message', json);
127-
context.bindings.json = json;
127+
return json;
128128
}
129129
```
130130
# [PowerShell](#tab/PowerShell)

0 commit comments

Comments
 (0)