Changed "." to "," because of sheets formatting
This commit is contained in:
parent
54b259096c
commit
78cb2e9e43
1 changed files with 4 additions and 1 deletions
5
app.js
5
app.js
|
@ -170,7 +170,10 @@ async function main() {
|
||||||
|
|
||||||
for (const tag of userTags[0]) {
|
for (const tag of userTags[0]) {
|
||||||
const memberEntry = Object.entries(balance).find(([_, info]) => info.memberInfo.emoji === tag);
|
const memberEntry = Object.entries(balance).find(([_, info]) => info.memberInfo.emoji === tag);
|
||||||
rowData.push(memberEntry ? memberEntry[1].balance : '-');
|
const balanceValue = memberEntry ?
|
||||||
|
String(memberEntry[1].balance).replace('.', ',') :
|
||||||
|
'-';
|
||||||
|
rowData.push(balanceValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update the sheet with the row data
|
// Update the sheet with the row data
|
||||||
|
|
Loading…
Reference in a new issue