Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughRoutes and client hooks for payouts were migrated from program-scoped endpoints to generic Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Client
participant API as Payouts API (/api/payouts)
participant Enrollment as ProgramEnrollment Service/DB
participant PayoutSvc as Payouts Service/DB
Client->>API: GET /api/payouts?tenantId=...&otherQuery
API->>Enrollment: find programEnrollment by tenantId
Enrollment-->>API: programEnrollment (or null)
alt programEnrollment found
API->>PayoutSvc: query payouts (resolved partnerId, filters)
PayoutSvc-->>API: payouts list
API-->>Client: 200 OK (payouts)
else not found
API-->>Client: 404 DubApiError ("no program enrollment found for tenant")
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
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 |
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Summary by CodeRabbit
New Features
Documentation
Improvements
Bug Fixes