Use v2 API for creating new lndhub accounts
This commit is contained in:
@@ -70,7 +70,7 @@ class LndhubV2
|
||||
# V2
|
||||
#
|
||||
|
||||
def create_account(payload)
|
||||
def create_account(payload={})
|
||||
post "v2/users", payload, admin_token: Rails.application.credentials.lndhub[:admin_token]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user