Skip to content

Commit 829c06a

Browse files
Correcting JavaScript code
(AzureCXP) fixes MicrosoftDocs/azure-docs#55206
1 parent 64cdff3 commit 829c06a

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)