fix(policies): include all statuses in download-all PDF bundle#2402
fix(policies): include all statuses in download-all PDF bundle#2402
Conversation
Previously, the download-all endpoint only included published policies, causing "Failed to generate PDF" errors when no published policies existed. Now includes all non-archived policies (published > needs_review > draft) using the same content resolution logic as single policy download. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Bundled policies are additionally sorted by status priority ( Written by Cursor Bugbot for commit 908879f. This will update automatically on new commits. Configure here. |
|
🎉 This PR is included in version 3.13.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
publishedpolicies — users with no published policies got "Failed to generate PDF" errorpublished→needs_review→draftcurrentVersion→policylevel dataChanges
status: 'published'filter from the queryTest plan
🤖 Generated with Claude Code