diff --git a/lnbits/extensions/paywall/migrations.py b/lnbits/extensions/paywall/migrations.py index 74ae6f8..23fca00 100644 --- a/lnbits/extensions/paywall/migrations.py +++ b/lnbits/extensions/paywall/migrations.py @@ -5,7 +5,8 @@ def m001_initial(db): """ Initial paywalls table. """ - db.execute(""" + db.execute( + """ CREATE TABLE IF NOT EXISTS paywalls ( id TEXT PRIMARY KEY, wallet TEXT NOT NULL, @@ -15,7 +16,8 @@ def m001_initial(db): amount INTEGER NOT NULL, time TIMESTAMP NOT NULL DEFAULT (strftime('%s', 'now')) ); - """) + """ + ) def migrate(): diff --git a/lnbits/extensions/paywall/templates/paywall/display.html b/lnbits/extensions/paywall/templates/paywall/display.html index 5b12ffe..e902aff 100644 --- a/lnbits/extensions/paywall/templates/paywall/display.html +++ b/lnbits/extensions/paywall/templates/paywall/display.html @@ -6,9 +6,19 @@
You can access the URL behind this paywall:
{% raw %}{{ redirectUrl }}{% endraw %}