add geo info and do refractor on workers

This commit is contained in:
2021-04-29 20:44:21 +02:00
parent f7799bb514
commit c5190b48f8
32 changed files with 241 additions and 205 deletions

View File

@@ -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')