Skip to content

Commit 60603b0

Browse files
committed
requested changes
1 parent 87956eb commit 60603b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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;
127+
context.bindings.json = json;
128128
}
129129
```
130130
# [PowerShell](#tab/PowerShell)

articles/azure-functions/functions-bindings-sendgrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ module.exports = function (context, input) {
197197
}]
198198
};
199199

200-
context.bindings = message;
200+
return message;
201201
};
202202
```
203203

0 commit comments

Comments
 (0)