Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 641e5f5

Browse files
committed
fix: wrong var
1 parent 6ce0fe9 commit 641e5f5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/stats/bw.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const transform = function (res, callback) {
1010
}
1111

1212
callback(null, {
13-
totalIn: res[0].TotalIn,
14-
totalOut: res[0].TotalOut,
15-
rateIn: res[0].RateIn,
16-
rateOut: res[0].RateOut
13+
totalIn: data[0].TotalIn,
14+
totalOut: data[0].TotalOut,
15+
rateIn: data[0].RateIn,
16+
rateOut: data[0].RateOut
1717
})
1818
})
1919
}

test/fixtures/test-folder/hello-link

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)