mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
1a25f544b1
- Add cancel action to RequestActionsDropdown for admins - Add cancel button to RequestCard for users - Implement DELETE handler in /api/requests/[id] with: - Status gate: only cancellable if pending_approval or awaiting_approval - Clears selectedTorrent (Prisma.DbNull) on cancel - Fires on-grab notification job after cancel - Tests: cancel flows for both statuses, rejection for non-cancellable status Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>