DC-010: claim + progress note (3/14 route files converted to ok() helper)
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
- **status:** in-progress
|
||||
- **owner:** hermes
|
||||
- **details:** v1.13.4 standardized route responses to use helpers, but some modules still use raw `res.json()`. Grep for remaining `res.json(` in route handlers and convert to response helpers.
|
||||
- **progress:** 3/14 files done (routes/browse.js, routes/logs.js, routes/sites.js) — switched `res.json({ success: true, ... })` → `ok(res, { ... })` and wired `ok` into the route factory deps in src/app.js. 750/750 tests still pass with the partial changes committed locally. Remaining: 62 `res.json(` calls across 11 files (updates.js=18, tailscale.js=12, notifications.js=10, workflows.js=6, openclaw.js=4, health.js=4, ca.js=3, services.js=2, events.js=1, dns.js=1).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user