added assets into stream
This commit is contained in:
@@ -25,6 +25,7 @@ use App\Models\Setting;
|
||||
use App\Models\Cnt;
|
||||
use App\Services\MontzarService;
|
||||
use App\Services\ConfigService;
|
||||
use App\Services\WalletBroadcastService;
|
||||
|
||||
|
||||
class SingleOrderController extends Controller
|
||||
@@ -221,6 +222,14 @@ class SingleOrderController extends Controller
|
||||
report($e);
|
||||
}
|
||||
}
|
||||
|
||||
if ($customer) {
|
||||
app(WalletBroadcastService::class)->broadcastForCustomer(
|
||||
(int) $customer->id,
|
||||
$ownerType
|
||||
);
|
||||
}
|
||||
|
||||
return response()->json([$response, $data]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user