File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -553,8 +553,8 @@ def site_listing
553
553
res << {
554
554
:site_id => site . attributes [ 'id' ] . to_i ,
555
555
:name => site . attributes [ 'name' ] . to_s ,
556
- :risk_factor => site . attributes [ 'risk_factor ' ] . to_f ,
557
- :risk_score => site . attributes [ 'risk_score ' ] . to_f ,
556
+ :risk_factor => site . attributes [ 'riskfactor ' ] . to_f ,
557
+ :risk_score => site . attributes [ 'riskscore ' ] . to_f ,
558
558
}
559
559
end
560
560
return res
@@ -595,8 +595,8 @@ def site_device_listing(site_id)
595
595
res << {
596
596
:device_id => device . attributes [ 'id' ] . to_i ,
597
597
:address => device . attributes [ 'address' ] . to_s ,
598
- :risk_factor => device . attributes [ 'risk_factor ' ] . to_f ,
599
- :risk_score => device . attributes [ 'risk_score ' ] . to_f ,
598
+ :risk_factor => device . attributes [ 'riskfactor ' ] . to_f ,
599
+ :risk_score => device . attributes [ 'riskscore ' ] . to_f ,
600
600
}
601
601
end
602
602
return res
You can’t perform that action at this time.
0 commit comments