fix payment request hub bug with payment types (#927)

This commit is contained in:
Andrew Camilleri 2019-07-18 07:00:46 +02:00 committed by Nicolas Dorier
parent 7e714bdfa2
commit d24628a386

View File

@ -157,8 +157,7 @@ namespace BTCPayServer.PaymentRequest
{
data.GetValue(),
invoiceEvent.Payment.GetCryptoCode(),
Enum.GetName(typeof(PaymentTypes),
invoiceEvent.Payment.GetPaymentMethodId().PaymentType)
invoiceEvent.Payment.GetPaymentMethodId().PaymentType.ToString()
});
}