Fix unnecessary array in Stats API response#21
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughFour GET /stats endpoints in the OpenAPI specification have their response schemas modified. The stats field changed from an array of SendingStats objects to a single SendingStats object reference across the domains, categories, email_service_providers, and date statistics endpoints. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Motivation
Fix returned values in Stats API
Changes
/stats/domains/stats/categories/stats/email_service_providers/stats/dateHow to test
Before:
After:
Images and GIFs
N/A
Summary by CodeRabbit
Release Notes