Commit bd2b6576c9954619853b47951f7d62846caba830

Authored by Victor Costa
1 parent 2bf348b5

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 9 path: request.path,
10 10 params: request.params.to_hash.except('password'),
11 11 method: request.request_method,
12   - total: total_runtime,
  12 + total: (duration * 1000).round(2),
13 13 db: @db_duration.round(2),
14 14 }
15 15 end
... ...