chart fixed
This commit is contained in:
@@ -18,6 +18,7 @@ use App\Services\ConfigService;
|
||||
use App\Services\ProductDisplayPriceService;
|
||||
use App\Services\ProductPriceService;
|
||||
use App\Services\ProductPriceSyncService;
|
||||
use App\Services\PriceBroadcastService;
|
||||
use App\Services\CategoryService;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
@@ -251,6 +252,10 @@ class ProductController extends SuperController
|
||||
app(ProductPriceSyncService::class)->syncAll(true);
|
||||
}
|
||||
|
||||
dispatch(function () {
|
||||
app(PriceBroadcastService::class)->broadcastAfterPriceUpdate();
|
||||
})->afterResponse();
|
||||
|
||||
return response()->json(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user