diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index 2005fb8..89c08ce 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -18,7 +18,8 @@ class Home extends BaseController $in["promo"] = $promo; $in["promo_owner"] = $promoOwner; - $out = $this->APIcall('POST', $this->wrenchApiServer(). 'start',[]); + $out = $this->APIcall('POST', $this->wrenchApiServer(). 'start',$in); + $out["task"] = $this->APIcall('POST', $this->wrenchApiServer(). 'tasks',$in); //var_dump($out); return view('welcome_message', $out); }