Skip to content

Commit f00f813

Browse files
authored
Merge pull request #116337 from DixitArora-MSFT/patch-59
Correcting JavaScript code
2 parents 64cdff3 + 829c06a commit f00f813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/event-grid/cloudevents-schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ module.exports = function (context, req) {
188188
// If the request is for subscription validation, send back the validation code
189189
190190
context.log('Validate request received');
191-
context.res = { status: 200, body: { "ValidationResponse": code } };
191+
context.res = { status: 200 };
192192
context.res.headers.append('Webhook-Allowed-Origin', 'eventgrid.azure.net');
193193
}
194194
else

0 commit comments

Comments
 (0)