add management of items !

This commit is contained in:
2021-05-29 00:10:32 +02:00
parent f8c539bb87
commit f4f3862c74
24 changed files with 373 additions and 7 deletions

View File

@@ -6,7 +6,11 @@ class WowCharacterPositionsWorker < WowSidekiqWorker
# Protected data
RBattlenet.set_options(locale: 'all')
params = { character_id: wow_character_id, realm_id: wow_character.wow_realm.realm_id, token: wow_character.user.token }
params = {
character_id: wow_character_id,
realm_id: wow_character.wow_realm.realm_id,
token: wow_character.user.token
}
result = RBattlenet::Wow::Profile::ProtectedSummary.find(params)
return unless result.status_code == 200