- Replaced god object ctx with explicit dependency injection - Added JSDoc documenting all required dependencies - Updated response calls to use response-helpers (success/error) - Maintained all existing functionality - Self-documenting: you can see exactly what this route needs - Easier testing: mock only what's actually used (14 deps vs 50+ ctx properties)
68 KiB
68 KiB