Skip to content

Commit 037bb15

Browse files
committed
fix missing date in push payload if provided as root key
1 parent 28688bf commit 037bb15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/databox/client.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def handle(response)
3838
end
3939

4040
def process_kpi(options={})
41-
options.delete_if { |k, _| [:date, 'date'].include?(k) }
4241

4342
%i{key value}.each do |k|
4443
raise("Missing '#{k}'") if (options[k] || options[k.to_s]).nil?

0 commit comments

Comments
 (0)