fix handle sync using button
This commit is contained in:
@@ -23,8 +23,8 @@ class ScrapingController extends Controller
|
||||
return $this->resError("Failed to execute while processing another scraping");
|
||||
}
|
||||
|
||||
// run service artisan command
|
||||
SyncronizeSIMBG::dispatch();
|
||||
// dispatch(new SyncronizeSIMBG());
|
||||
Artisan::call("app:scraping-data");
|
||||
return $this->resSuccess(["message" => "Success execute scraping service on background, check status for more"]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user