Fix csv profit

This commit is contained in:
James Grugett 2022-08-14 20:21:27 -05:00
parent f407737f0c
commit b56cfd510f

View File

@ -67,7 +67,7 @@ function UsersTable() {
u.email ?? '',
u.name,
Math.round(u.balance).toString(),
Math.round(u.profitCached.allTime).toString(),
Math.round(profitByUser[u.id] ?? 0).toString(),
])
)
const csv = lines.map((line) => line.join(', ')).join('\n')