Skip to content

Commit

Permalink
Int64 instead of Float
Browse files Browse the repository at this point in the history
  • Loading branch information
bararchy committed Dec 18, 2023
1 parent f1d991c commit 0d447ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sec_tester/scan.cr
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module SecTester
response = poll_call
response_json = JSON.parse(response.body.to_s)

@scan_duration = response_json["elapsed"].as_f.milliseconds
@scan_duration = response_json["elapsed"].as_i64.milliseconds
@entry_points.set(response_json["entryPoints"].as_i)
@total_params.set(response_json["totalParams"].as_i)
get_issues.each { |issue| @issues << issue unless @issues.includes?(issue) }
Expand Down

0 comments on commit 0d447ff

Please sign in to comment.