Show balance in list-contributors helper script
This commit is contained in:
parent
6351db3057
commit
74e61e1393
@ -16,7 +16,7 @@ module.exports = async function(callback) {
|
||||
|
||||
|
||||
const table = new Table({
|
||||
head: ['ID', 'Account', 'Core?', 'Name']
|
||||
head: ['ID', 'Account', 'Core?', 'Name', 'Balance']
|
||||
})
|
||||
|
||||
let contributors = await kredits.Contributor.all()
|
||||
@ -26,7 +26,8 @@ module.exports = async function(callback) {
|
||||
c.id.toString(),
|
||||
c.account,
|
||||
c.isCore,
|
||||
`${c.name}`
|
||||
`${c.name}`,
|
||||
c.balance.toString()
|
||||
])
|
||||
})
|
||||
console.log(table.toString())
|
||||
|
Loading…
x
Reference in New Issue
Block a user