From 3023155fdeddd31360fbed3ab51b877019a35071 Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Wed, 7 Jan 2026 22:46:23 -0800 Subject: [PATCH] fix(pulse): Increase sparkline history to 24h --- backend/src/services/pulse.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/services/pulse.service.ts b/backend/src/services/pulse.service.ts index c6de106..153b67f 100644 --- a/backend/src/services/pulse.service.ts +++ b/backend/src/services/pulse.service.ts @@ -169,8 +169,8 @@ export class PulseService { await Promise.all(devices.map(async (device) => { try { - // Get 1 hour of history - const history = await this.getHistory(device.id, 1); + // Get 24 hours of history + const history = await this.getHistory(device.id, 24); // Sort by timestamp ascending results[device.id] = history.sort((a, b) => a.timestamp.getTime() - b.timestamp.getTime()