Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

need to encode self.to_hash specifically

  • Loading branch information...
commit 43b046cf343feee050ae44a189c62711b842360b 1 parent c321888
@ddollar ddollar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/taps/data_stream.rb
View
2  lib/taps/data_stream.rb
@@ -167,7 +167,7 @@ def fetch_from_resource(resource, headers)
log.debug "DataStream#fetch_from_resource state -> #{state.inspect}"
state[:chunksize] = Taps::Utils.calculate_chunksize(state[:chunksize]) do |c|
state[:chunksize] = c.to_i
- res = resource.post({:state => OkJson.encode(self)}, headers)
+ res = resource.post({:state => OkJson.encode(self.to_hash)}, headers)
end
begin
Please sign in to comment.
Something went wrong with that request. Please try again.