Skip to content

Commit

Permalink
nullable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Turowicz committed Sep 13, 2023
1 parent fdc9a44 commit b373cea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public async Task CompleteAsync<T>(Guid id, bool success, string queue)
var transaction = _client.GetGrain<ITransactionGrain>(queue);
var id = await transaction.PopAsync();

if (id != null)
if (id.HasValue)
{
var item = _client.GetGrain<ITransactionItemGrain<T>>(id.Value);

Expand Down

0 comments on commit b373cea

Please sign in to comment.