QR: fix delete 500 — relation is scanEvents(), not scans()
Deploy Ladill QR Plus / deploy (push) Successful in 35s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
isaacclad
2026-06-17 20:29:25 +00:00
co-authored by Claude Opus 4.8
parent 46d0ef8825
commit f3563c7d3e
+1 -1
View File
@@ -285,7 +285,7 @@ class QrCodeController extends Controller
// Remove the code and its scan history. Deletion is gated behind a // Remove the code and its scan history. Deletion is gated behind a
// type-to-confirm dialog in the UI — this is intentionally permanent. // type-to-confirm dialog in the UI — this is intentionally permanent.
$qrCode->scans()->delete(); $qrCode->scanEvents()->delete();
$qrCode->delete(); $qrCode->delete();
return redirect() return redirect()