From 9ce59ce71557d981881731195b59bf50a2cc4fe5 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 18 Sep 2024 06:52:41 -0400 Subject: [PATCH] promoTask --- app/Controllers/Home.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }