Commit 3774ba08 authored by Francis's avatar Francis
Browse files

Really fixed D3 profile endpoints this time

parent cc2813c4
Pipeline #137008298 passed with stage
in 4 minutes and 58 seconds
Please view this file on the master branch, otherwise it may be outdated
**Version 0.3.10**
Really fixed D3 profile URLs this time.
**Version 0.3.9**
Fix D3 profile URLs.
......
......@@ -22,7 +22,7 @@ module BlizzardApi
# @see https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow
def index(battletag, oauth_token, options = {})
opts = { access_token: oauth_token, ttl: CACHE_TRIMESTER }.merge(options)
api_request "#{base_url(:community)}/profile/#{parse_battle_tag(battletag)}", opts
api_request "#{base_url(:community)}/profile/#{parse_battle_tag(battletag)}/", opts
end
##
......
......@@ -2,5 +2,5 @@
module BlizzardApi
# Gem version
VERSION = '0.3.9'
VERSION = '0.3.10'
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment