Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
Several mutating endpoints (webhook creation in src/controllers/indexerController.ts lines 494-520, reindex and quarantine-reprocess in adminRoutes) validate input with hand-written checks rather than the project's validate() + zod pattern used elsewhere, leading to inconsistent error shapes and gaps.
Acceptance criteria
Files to touch
- src/controllers/indexerController.ts
- src/routes/adminRoutes.ts
- src/routes/indexerRoutes.ts
- src/middleware/validation.ts
Out of scope
- Reworking the auth model on these routes
- Adding new endpoints
Why this matters
Several mutating endpoints (webhook creation in src/controllers/indexerController.ts lines 494-520, reindex and quarantine-reprocess in adminRoutes) validate input with hand-written checks rather than the project's validate() + zod pattern used elsewhere, leading to inconsistent error shapes and gaps.
Acceptance criteria
Files to touch
Out of scope