fix some bugs 3
This commit is contained in:
@@ -59,7 +59,7 @@ class ProductController extends SuperController
|
||||
}
|
||||
|
||||
if ($representativeId !== null) {
|
||||
$mainWalletGold = $balanceService->effectiveMainWalletGold((int) $user->id);
|
||||
$mainWalletGold = $balanceService->effectiveMainWalletGold((int) $user->id, (int) $user->type);
|
||||
}
|
||||
|
||||
$products = $products->filter(function ($product) use ($mainWalletProductIds, $representativeId) {
|
||||
|
||||
Reference in New Issue
Block a user