Skip to content

Commit 9c981e6

Browse files
authored
Changed ValidationResponse handling fix also for other samples
Fixed ValidationResponse handling also for Handle Blob storage events and Handle Custom events samples
1 parent 40e46ce commit 9c981e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/event-grid/receive-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ namespace Function1
171171
log.LogInformation($"Got SubscriptionValidation event data, validation code: {subscriptionValidationEventData.ValidationCode}, topic: {eventGridEvent.Topic}");
172172
// Do any additional validation (as required) and then return back the below response
173173
174-
var responseData = new SubscriptionValidationResponse()
174+
var responseData = new
175175
{
176176
ValidationResponse = subscriptionValidationEventData.ValidationCode
177177
};
@@ -305,7 +305,7 @@ namespace Function1
305305
log.LogInformation($"Got SubscriptionValidation event data, validation code: {subscriptionValidationEventData.ValidationCode}, topic: {eventGridEvent.Topic}");
306306
// Do any additional validation (as required) and then return back the below response
307307
308-
var responseData = new SubscriptionValidationResponse()
308+
var responseData = new
309309
{
310310
ValidationResponse = subscriptionValidationEventData.ValidationCode
311311
};

0 commit comments

Comments
 (0)