Fix exception during signup
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
2022-01-10 09:19:04 -06:00
parent 0f0f296a5e
commit bc20e89617
2 changed files with 25 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ class CreateAccount < ApplicationService
def call
user = create_user_in_database
add_ldap_document
create_lndhub_wallet
create_lndhub_wallet(user)
if @invitation.present?
update_invitation(user.id)
@@ -46,7 +46,7 @@ class CreateAccount < ApplicationService
ExchangeXmppContactsJob.perform_later(@invitation.user, @username, @domain)
end
def create_lndhub_wallet
def create_lndhub_wallet(user)
CreateLndhubWalletJob.perform_later(user)
end
end