diff --git a/package.json b/package.json index ba2af11..f3c7655 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "harheimertc-website", - "version": "1.8.10", + "version": "1.8.11", "description": "Moderne Webseite für den Harheimer Tischtennis Club", "private": true, "type": "module", diff --git a/server/utils/push-notifications.js b/server/utils/push-notifications.js index 67b4c30..c064a2d 100755 --- a/server/utils/push-notifications.js +++ b/server/utils/push-notifications.js @@ -337,7 +337,7 @@ export async function sendOwnTtrChangePush(changes = []) { export async function sendQttrListUpdatedPush({ importedAt, rowCount }) { return sendPushToUsers({ title: 'QTTR-Liste aktualisiert', - body: `Die aktuelle TTR- und QTTR-Liste wurde aktualisiert (${rowCount} Einträge).`, + body: `Die aktuellen QTTR-Werte wurden aktualisiert (${rowCount} Einträge).`, data: { type: 'qttr_list_updated', importedAt: importedAt || '', diff --git a/server/utils/qttr-import.js b/server/utils/qttr-import.js index d0ee057..a2222a2 100755 --- a/server/utils/qttr-import.js +++ b/server/utils/qttr-import.js @@ -297,8 +297,7 @@ function qttrListSignature(rows) { if (!Array.isArray(rows) || rows.length === 0) return '' return rows .map(row => [ - String(row?.playerName || '').trim().toLocaleLowerCase('de-DE'), - row?.rank ?? '', + String(row?.playerNumber || row?.playerName || '').trim().toLocaleLowerCase('de-DE'), row?.currentQttr ?? '' ].join('|')) .sort()