Afia: fix context() calling undefined QrTypeCatalog::eventTypes()
Deploy Ladill Mini / deploy (push) Successful in 27s

Use paymentTypes() (this app's catalog) so the chat context loads instead of
500ing — the eventTypes() call was a QR Plus leftover.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
isaacclad
2026-06-11 07:45:17 +00:00
co-authored by Claude Opus 4.8
parent 2065306541
commit 9f175c5334
+1 -1
View File
@@ -45,7 +45,7 @@ class AfiaController extends Controller
return ['signed_in' => 'no']; return ['signed_in' => 'no'];
} }
$types = QrTypeCatalog::eventTypes(); $types = QrTypeCatalog::paymentTypes();
$codes = $account->qrCodes()->whereIn('type', $types); $codes = $account->qrCodes()->whereIn('type', $types);
$ctx = [ $ctx = [