Merge pull request #34 from boltcard/update-lndhub-url

Can we please remove the https specification
This commit is contained in:
Peter Rounce 2023-02-21 05:52:26 +00:00 committed by GitHub
commit 5f39722679
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ type LndhubPayInvoiceRequest struct {
func lndhub_payment(w http.ResponseWriter, p *db.Payment, bolt11 decodepay.Bolt11, param_pr string) {
//get setting for LNDHUB_URL
lndhub_url := "https://" + db.Get_setting("LNDHUB_URL")
lndhub_url := db.Get_setting("LNDHUB_URL")
//get lndhub login details from database
c, err := db.Get_card_from_card_id(p.Card_id)