Changed "." to "," because of sheets formatting

This commit is contained in:
Martin Velebil 2025-05-27 23:07:37 +02:00
parent 54b259096c
commit 78cb2e9e43

5
app.js
View file

@ -170,7 +170,10 @@ async function main() {
for (const tag of userTags[0]) {
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