Skip to content

Commit

Permalink
Replace CreateHTTPRequest due to breaking update
Browse files Browse the repository at this point in the history
Valve replaced `CreateHTTPRequest` with `CreateHTTPRequestScriptVM`
  • Loading branch information
jimmydorry committed Mar 29, 2017
1 parent 494ef62 commit b41c2cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ function statCollection:sendStage(stageName, payload, callback, override_host)
local host = override_host or postLocation

-- Create the request
local req = CreateHTTPRequest('POST', host .. stageName)
local req = CreateHTTPRequestScriptVM('POST', host .. stageName)
local encoded = json.encode(payload)
if self.TESTING then
statCollection:print(encoded)
Expand Down

0 comments on commit b41c2cc

Please sign in to comment.