File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ namespace Function1
69
69
{
70
70
log .LogInformation ($" Got SubscriptionValidation event data, validation code: {subscriptionValidationEventData .ValidationCode }, topic: {eventGridEvent .Topic }" );
71
71
// Do any additional validation (as required) and then return back the below response
72
-
73
- var responseData = new SubscriptionValidationResponse ()
72
+ var responseData = new
74
73
{
75
74
ValidationResponse = subscriptionValidationEventData .ValidationCode
76
75
};
76
+
77
77
return new OkObjectResult (responseData );
78
78
}
79
79
}
@@ -171,7 +171,7 @@ namespace Function1
171
171
log .LogInformation ($" Got SubscriptionValidation event data, validation code: {subscriptionValidationEventData .ValidationCode }, topic: {eventGridEvent .Topic }" );
172
172
// Do any additional validation (as required) and then return back the below response
173
173
174
- var responseData = new SubscriptionValidationResponse ()
174
+ var responseData = new
175
175
{
176
176
ValidationResponse = subscriptionValidationEventData .ValidationCode
177
177
};
@@ -305,7 +305,7 @@ namespace Function1
305
305
log .LogInformation ($" Got SubscriptionValidation event data, validation code: {subscriptionValidationEventData .ValidationCode }, topic: {eventGridEvent .Topic }" );
306
306
// Do any additional validation (as required) and then return back the below response
307
307
308
- var responseData = new SubscriptionValidationResponse ()
308
+ var responseData = new
309
309
{
310
310
ValidationResponse = subscriptionValidationEventData .ValidationCode
311
311
};
You can’t perform that action at this time.
0 commit comments