Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register companies/contacts within CRM #153

Merged
merged 8 commits into from
Apr 10, 2024
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
skelz0r marked this conversation as resolved.
Show resolved Hide resolved

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