Files
routstrd/src/tui/usage
redshift f7fadaefd2 fix: handle daemon /usage endpoint returning array directly
The daemon's /usage endpoint returns { output: [...] } where output IS
the entries array directly, not an object with entries/totalEntries/etc.
Both the CLI usage command and TUI monitor expected the wrong shape,
causing entries.reduce to fail with 'is not a function'.

- Fix fetchUsage() to parse the array response correctly
- Fix CLI usage command to handle the array response
- Add defensive check in getTotals() for undefined/non-array input
2026-04-01 18:12:48 +02:00
..
2026-03-30 21:54:57 +01:00
2026-03-21 21:26:36 +00:00
2026-03-21 21:26:36 +00:00
2026-03-30 21:54:57 +01:00
2026-03-21 21:26:36 +00:00
2026-03-21 21:26:36 +00:00
2026-03-21 21:26:36 +00:00