Commit eb623c275b38fb8679e40ccf116d9bf4a9941428
Committed by
Leandro Santos
1 parent
2f9ff7f9
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
api: fix logger
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/api/request_logger.rb
@@ -9,7 +9,7 @@ module Noosfero | @@ -9,7 +9,7 @@ module Noosfero | ||
9 | path: request.path, | 9 | path: request.path, |
10 | params: request.params.to_hash.except('password'), | 10 | params: request.params.to_hash.except('password'), |
11 | method: request.request_method, | 11 | method: request.request_method, |
12 | - total: total_runtime, | 12 | + total: (duration * 1000).round(2), |
13 | db: @db_duration.round(2), | 13 | db: @db_duration.round(2), |
14 | } | 14 | } |
15 | end | 15 | end |