feat: add unit to PayInvoiceResponse

This commit is contained in:
thesimplekid
2024-09-14 11:25:58 +01:00
parent eae57eae02
commit fba609f28a
8 changed files with 11 additions and 3 deletions

View File

@@ -193,6 +193,7 @@ impl MintLightning for LNbits {
payment_preimage: Some(invoice_info.payment_hash),
status,
total_spent,
unit: CurrencyUnit::Sat,
})
}