fix(wallets): capture $type in the deposit/withdraw action closure #2

Merged
soheilkhaledabadi merged 1 commits from feat/persian-panel-fixes-and-model-tweaks into main 2026-09-08 20:45:32 +00:00

The action closure referenced $type without importing it via use(), so
every credit/debit attempt in the admin panel threw "Undefined variable
$type" instead of adjusting the wallet.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

The action closure referenced $type without importing it via use(), so every credit/debit attempt in the admin panel threw "Undefined variable $type" instead of adjusting the wallet. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
soheilkhaledabadi added 1 commit 2026-09-08 20:45:24 +00:00
The action closure referenced $type without importing it via use(), so
every credit/debit attempt in the admin panel threw "Undefined variable
$type" instead of adjusting the wallet.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
soheilkhaledabadi merged commit ac11fbeaa6 into main 2026-09-08 20:45:32 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: soheilkhaledabadi/hoshpoint-backend#2