From 43c8ce6a0752282b39f26ed86512d81c2004ddfe Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 9 Mar 2019 05:44:59 +0000 Subject: [PATCH] Backend Service --- svrswww/api/users/index.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/svrswww/api/users/index.php b/svrswww/api/users/index.php index 47f2549..98b30c6 100644 --- a/svrswww/api/users/index.php +++ b/svrswww/api/users/index.php @@ -11,7 +11,8 @@ $endpoints = array( 'createuser' => array('POST'), 'login' => array('POST'), 'userlogin' => array('POST'), - 'getprofile' => array('POST') + 'getprofile' => array('POST'), + 'userstask' => array('POST') ); header("Access-Control-Allow-Origin: *"); @@ -60,8 +61,12 @@ switch ($endpoint) { break; case 'createuser': $in["action"] = MERMS_USER_CREATEACCOUNT; - $in["action_recieved"] = MERMS_USER_CREATEACCOUNT; + //$in["action_recieved"] = MERMS_USER_CREATEACCOUNT; break; + + case 'userstask': + $in["action"] = MERMS_USER_REMINDERS; + break; }