/home/techb158/ileadtechnology.com/SSM/vendor/mint/service/src/Controllers
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/mint/service/src/Controllers/UpdateController.php (1093B)
request = $request;
$this->repo = $repo;
$this->init = $init;
$this->middleware('prohibited.test.mode')->only(['download','update']);
}
public function index()
{
return $this->init->product();
}
public function download()
{
$release = $this->repo->download();
return $this->success(['release' => $release, 'message' => trans('install.update_downloaded')]);
}
public function update()
{
$this->repo->update($this->request->all());
return $this->success(['message' => trans('install.updated')]);
}
}