diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/account_identity_proof.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/account_identity_proof.rb b/app/models/account_identity_proof.rb index 5871d0e84..10b66cccf 100644 --- a/app/models/account_identity_proof.rb +++ b/app/models/account_identity_proof.rb @@ -30,12 +30,12 @@ class AccountIdentityProof < ApplicationRecord delegate :refresh!, :on_success_path, :badge, to: :provider_instance - private - def provider_instance @provider_instance ||= ProofProvider.find(provider, self) end + private + def queue_worker provider_instance.worker_class.perform_async(id) end |