diff options
author | ThibG <thib@sitedethib.com> | 2019-03-28 18:45:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 18:45:28 +0100 |
commit | fad29fd23052cdf3d51a6e0eb03557554572d402 (patch) | |
tree | 4ba415e02d601654867889da11391b509909635d /app/models | |
parent | bb316faffff7a76bc89f7e942233f0e14caf60f5 (diff) | |
parent | ce7d055d3cc7927a597c8bb56b45f8e0aae91319 (diff) |
Merge pull request #973 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/account_identity_proof.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account_identity_proof.rb b/app/models/account_identity_proof.rb index e7a3f97e5..1ac234735 100644 --- a/app/models/account_identity_proof.rb +++ b/app/models/account_identity_proof.rb @@ -26,7 +26,7 @@ class AccountIdentityProof < ApplicationRecord scope :active, -> { where(verified: true, live: true) } - after_create_commit :queue_worker + after_commit :queue_worker, if: :saved_change_to_token? delegate :refresh!, :on_success_path, :badge, to: :provider_instance |