From 78cb2e9e43b12968cf734fb6c280086de4dcd6ef Mon Sep 17 00:00:00 2001 From: Martin Velebil Date: Tue, 27 May 2025 23:07:37 +0200 Subject: [PATCH] Changed "." to "," because of sheets formatting --- app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index f4c2a3e..cf5c8f1 100644 --- a/app.js +++ b/app.js @@ -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