null check

This commit is contained in:
jojo aquino 2025-04-05 15:22:35 +01:00
parent 77c665f64e
commit 6563215f34

View File

@ -27,7 +27,7 @@ namespace EnotaryoPH.Web.Common.Jobs
public async Task Invoke() public async Task Invoke()
{ {
var message = await _queueClient.ReceiveMessageAsync(); var message = await _queueClient.ReceiveMessageAsync();
if (message.Value == null) if (message?.Value == null)
{ {
return; return;
} }