Fix NRE introduced by previous commit

This commit is contained in:
nicolas.dorier
2022-05-18 21:49:42 +09:00
parent 421a2b0cd9
commit 1803d3ee2b

View File

@@ -82,8 +82,8 @@ namespace BTCPayServer.Controllers
Status = entity.Entity.State,
Destination = entity.Blob.Destination,
PaymentMethod = PaymentMethodId.Parse(entity.Entity.PaymentMethodId),
Link = entity.ProofBlob.Link,
TransactionId = entity.ProofBlob.Id
Link = entity.ProofBlob?.Link,
TransactionId = entity.ProofBlob?.Id
}).ToList()
};
vm.IsPending &= vm.AmountDue > 0.0m;