Skip to content

Commit 56ac243

Browse files
authored
Return TopicEventResponse instead of null (#720)
1 parent 16321d3 commit 56ac243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/AspNetCore/GrpcServiceSample/Services/BankingService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public override async Task<TopicEventResponse> OnTopicEvent(TopicEventRequest re
116116
}
117117
}
118118

119-
return await Task.FromResult(default(TopicEventResponse));
119+
return new TopicEventResponse();
120120
}
121121

122122
/// <summary>

0 commit comments

Comments
 (0)