Fix avatar wallet balance by serving JSON from /wallet/balance.
Deploy Ladill Care / deploy (push) Successful in 28s

The dropdown was fetching care.wallet (account redirect HTML) instead of a
billing balance API, so Alpine always fell back to "View wallet".

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 18:13:13 +00:00
co-authored by Cursor
parent 2cff8fdd6c
commit 61b901095f
5 changed files with 127 additions and 1 deletions
+1 -1
View File
@@ -4,6 +4,6 @@ return [
'api_url' => env('BILLING_API_URL', 'https://ladill.com/api/billing'),
'api_key' => env('BILLING_API_KEY_CARE'),
'service' => 'care',
'wallet_balance_route' => 'care.wallet',
'wallet_balance_route' => 'wallet.balance',
'currency' => 'GHS',
];