Add keysend support for Lightning Addresses, specs for address/lnurlp responses #84

Merged
raucao merged 7 commits from feature/ln_address_keysend into master 2023-03-03 13:29:02 +00:00
Showing only changes of commit b87b9c2437 - Show all commits

View File

@ -19,7 +19,7 @@ class LnurlpayController < ApplicationController
end end
def keysend def keysend
http_status :not_found unless Setting.lndhub_keysend_enabled? http_status :not_found and return unless Setting.lndhub_keysend_enabled?
render json: { render json: {
status: "OK", status: "OK",
@ -90,6 +90,6 @@ class LnurlpayController < ApplicationController
private private
def check_feature_enabled def check_feature_enabled
http_status :not_found if !Setting.lndhub_enabled? http_status :not_found unless Setting.lndhub_enabled?
end end
end end