From d3e7dc066853881d94e04148fc31ff13cb918986 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Wed, 9 Jan 2019 12:08:50 +0100 Subject: [PATCH] readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b48801e..7a2a45f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ JavaScript widget that integrates in any website. See it in action: [moneyz.michaelbumann.com](http://moneyz.michaelbumann.com) If [webln](https://github.com/wbobeirne/webln) is available it will be used to request the payment; -otherwise a overlay will be shown with the payment request and a QR code. +otherwise an overlay will be shown with the payment request and a QR code. ## Motivation @@ -74,7 +74,7 @@ tip.requestPayment().then((invoice) => { // create a new invoice tip.getInvoice().then((invoice) => { - console.log(tip.invoice.PaymentRequest) + console.log(invoice.PaymentRequest) }); // periodically watch if an invoice is settled