Skip to content

Commit

Permalink
Fix Fusion tables push
Browse files Browse the repository at this point in the history
  • Loading branch information
waj committed Jan 5, 2015
1 parent e7ba115 commit db6f8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/call_flow/fusion_tables_push.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def upload_call_data
ids = call_flow.step_names.keys
values = [call_log.id, call_log.address, call_log.state, call_log.started_at, call_log.finished_at]

call_log.step_activities.each do |trace|
CallLog.poirot_activities(call_log.id).each do |trace|
begin
index = ids.index(trace.fields['step_id']) * 2 + 5
values[index] = trace.fields['step_result']
Expand Down

0 comments on commit db6f8a0

Please # to comment.