Afia: fix context() calling undefined QrTypeCatalog::eventTypes()
Deploy Ladill Give / deploy (push) Successful in 40s
Deploy Ladill Give / deploy (push) Successful in 40s
Use givingTypes() (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:
co-authored by
Claude Opus 4.8
parent
7df7d79d25
commit
c1b168b93e
@@ -45,7 +45,7 @@ class AfiaController extends Controller
|
||||
return ['signed_in' => 'no'];
|
||||
}
|
||||
|
||||
$types = QrTypeCatalog::eventTypes();
|
||||
$types = QrTypeCatalog::givingTypes();
|
||||
$codes = $account->qrCodes()->whereIn('type', $types);
|
||||
|
||||
$ctx = [
|
||||
|
||||
Reference in New Issue
Block a user