This commit is contained in:
Albert Yi
2018-04-26 10:24:20 -07:00
parent c4a4394ea0
commit 4b6019d6ad
5 changed files with 8 additions and 4 deletions

View File

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