Skip to content

Commit f68ee0e

Browse files
committed
FIX: initial value for default, for empty arrays.
1 parent 4d38ed8 commit f68ee0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/services/statsRoute/printClients.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function printClient (html, entry) {
1616
};
1717

1818
function printClients (clients) {
19-
const contentHtml = Object.entries(clients).reduce(printClient)
19+
const contentHtml = Object.entries(clients).reduce(printClient, '')
2020
const html = startHtml + contentHtml + endHtml
2121

2222
return html

0 commit comments

Comments
 (0)