Skip to content

Commit

Permalink
APIEntrepriseNotifier#validated calls RegisterOrganizationWithContact…
Browse files Browse the repository at this point in the history
…sOnCRMJob
  • Loading branch information
skelz0r committed Apr 8, 2024
1 parent 73a8a18 commit da5539c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/notifiers/api_entreprise_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class APIEntrepriseNotifier < ApplicationNotifier
# rubocop:enable Lint/EmptyBlock
end

def validated(_params)
RegisterOrganizationWithContactsOnCRMJob.perform_later(authorization_request.id)
end

def submitted(_params)
Instruction::AuthorizationRequestMailer.with(
authorization_request:
Expand Down

0 comments on commit da5539c

Please sign in to comment.