We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba6889 commit ebe632fCopy full SHA for ebe632f
1 file changed
app/services/customers/refresh_wallets_service.rb
@@ -31,8 +31,7 @@ def call
31
)
32
end
33
34
- now = Time.current
35
- Wallet.where(id: all_wallets.map(&:id)).update_all(updated_at: now, last_ongoing_balance_sync_at: now) # rubocop:disable Rails/SkipsModelValidations
+ Wallet.where(id: all_wallets.map(&:id)).touch_all(:last_ongoing_balance_sync_at) # rubocop:disable Rails/SkipsModelValidations
36
37
customer.update!(awaiting_wallet_refresh: false)
38
0 commit comments