Commit 9714d2f01bc06577dd50f952d767a1112786b576

Authored by Victor Costa
Committed by Rodrigo Souto
1 parent 0318fee8

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
... ...