diff --git a/EnotaryoPH/EnotaryoPH.Web/Common/Jobs/CheckRecordingAvailabilityInvocable.cs b/EnotaryoPH/EnotaryoPH.Web/Common/Jobs/CheckRecordingAvailabilityInvocable.cs index 13b7569..258e44b 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Common/Jobs/CheckRecordingAvailabilityInvocable.cs +++ b/EnotaryoPH/EnotaryoPH.Web/Common/Jobs/CheckRecordingAvailabilityInvocable.cs @@ -27,7 +27,7 @@ namespace EnotaryoPH.Web.Common.Jobs public async Task Invoke() { var message = await _queueClient.ReceiveMessageAsync(); - if (message.Value == null) + if (message?.Value == null) { return; }