Commit a904a4c9 by Nick N. Sukharev

Исправлено создание описания вызова внешней функции для отчёта для случая, когда…

… был зафиксирван только запрос
1 parent c1e2d2d0
Showing with 1 additions and 1 deletions
......@@ -85,7 +85,7 @@ module.exports = exports = {
for (const [id, event] of Object.entries(collection)) {
const entry = {};
if (event.response === undefined) {
entry.startTime = new Date(request.time)
entry.startTime = new Date(event.request.time)
entry.endTime = new Date();
entry.duration = entry.endTime.getTime() - entry.startTime.getTime();
entry.method = event.request.method;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!