Skip to content

Commit

Permalink
Bugfix in stat submission
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinscham committed Jun 17, 2022
1 parent 5da40fa commit 333cde0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion disenchanter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require "json"

def run
current_version = "v1.1.0"
current_version = "v1.1.1"

sep = "____________________________________________________________"
$ans_yesno = %w[y yes n no true false]
Expand Down Expand Up @@ -575,6 +575,7 @@ def submit_stats(a, d, o, c, r, be, oe)
uri = URI("https://checksch.de/hook/disenchanter.php")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
req = Net::HTTP::Post.new(uri, "Content-Type": "application/json")

req.body = { a: a, d: d, o: o, c: c, r: r, be: be, oe: oe }.to_json
Expand Down

0 comments on commit 333cde0

Please sign in to comment.