feat: add account_id override to POST /api/notifications#243
feat: add account_id override to POST /api/notifications#243sweetmantech merged 1 commit intotestfrom
Conversation
Org API keys can now send notifications on behalf of member accounts by passing account_id in the request body. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (3)
✨ 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 |
Summary
account_idbody param so org API keys can send notifications on behalf of member accountsvalidateCreateNotificationBodyto handle auth + body parsing (matches artists pattern)createNotificationHandlerto delegate to the new validate functionTest plan
pnpm test lib/notifications/)pnpm buildpasses in CI🤖 Generated with Claude Code