tag alias corrections: fix ActionView::Template::Error exception (#3668).

This commit is contained in:
evazion
2018-04-27 00:17:14 -05:00
parent 63a29247b2
commit c9f35cbacc
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class TagAliasCorrection
end
def fill_hash!
res = HTTParty.get("http://#{hostname}/tag_aliases/#{tag_alias_id}/correction.json", Danbooru.config.httparty_options)
res = HTTParty.get("https://#{hostname}.#{Danbooru.config.domain}/tag_aliases/#{tag_alias_id}/correction.json", Danbooru.config.httparty_options)
if res.success?
json = JSON.parse(res.body)
statistics_hash["antecedent_cache"] = json["antecedent_cache"]