Afia: fix context() calling undefined QrTypeCatalog::eventTypes()
Deploy Ladill Mini / deploy (push) Successful in 27s
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:
co-authored by
Claude Opus 4.8
parent
2065306541
commit
9f175c5334
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user