We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7227ab9 commit c822438Copy full SHA for c822438
src/JoinRpg.Services.Impl/PaymentsService.cs
@@ -155,7 +155,9 @@ private async Task<Comment> AddPaymentCommentAsync(
155
claim,
156
CurrentUserId,
157
Now,
158
- request.CommentText,
+ // Do not remove null-coalescing here!
159
+ // Payment comment is not necessary, but it must not be null to create comment.
160
+ request.CommentText ?? "",
161
true,
162
null);
163
comment.Finance = new FinanceOperation
0 commit comments