add geo info and do refractor on workers
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowMountsCollectionWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
class WowMountsCollectionWorker < WowSidekiqWorker
|
||||
def perform(user_id)
|
||||
# Update the WoW character list
|
||||
return unless (user = User.find(user_id))
|
||||
|
||||
RBattlenet.set_options(locale: 'en_US')
|
||||
|
||||
Reference in New Issue
Block a user