style(workouts): format pulse enrichment

This commit is contained in:
Marc-André Bombeck committed 2026-07-29 14:58:46 +02:00
1 parent 5ec1a3836f
commit 104a058096
3 files changed
+10 -22

No files matched your search

+2 -4
View File
@@ -135,10 +135,8 @@ export const GET = apiHandler(
canonicalCluster.find((c) => c.id === row.id) ??
canonicalCluster[0] ??
null;
const effectiveAvgHeartRate =
canonical?.avgHeartRate ?? row.avgHeartRate;
const effectiveMaxHeartRate =
canonical?.maxHeartRate ?? row.maxHeartRate;
const effectiveAvgHeartRate = canonical?.avgHeartRate ?? row.avgHeartRate;
const effectiveMaxHeartRate = canonical?.maxHeartRate ?? row.maxHeartRate;
// ── Enrichment reads (all over existing tables — no migration) ────