suggest tasks

This commit is contained in:
CHIEFSOFT\ameye
2023-07-03 07:18:19 -04:00
parent c26799fd35
commit ab081dea0d
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -99,6 +99,8 @@ $routes->post('/en/wrench/api/v1/familyadd', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familyupdate', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familymanage', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familysampletasks', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familysuggesttasks', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/recipients', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/addrecipient', 'WrenchApi::apigate');
+4
View File
@@ -117,6 +117,7 @@ class WrenchApi extends BaseController
'payremcard' => ['POST'],
'mynotifications' => ['POST'],
'familysampletasks' => ['POST'],
'familysuggesttasks' => ['POST'],
];
return $endpoints;
}
@@ -180,6 +181,9 @@ class WrenchApi extends BaseController
break;
case 'familysampletasks':
$in["action"] = WRENCHBOARD_FAMILY_SAMPLETASKS;
break;
case 'familysuggesttasks':
break;
case 'familylist':
$in["action"] = WRENCHBOARD_FAMILY_LIST;