Skip to content

Commit

Permalink
Fix return unit on null
Browse files Browse the repository at this point in the history
  • Loading branch information
trympet committed May 2, 2021
1 parent 465e34c commit 4010a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mediators/MediatorClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private object DeserializeResponse(Message response, Type contentType)

if (response.IsNullResponse)
{
return default!;
return default(Unit);
}

return DeserializeContent(response , contentType);
Expand Down

0 comments on commit 4010a00

Please sign in to comment.