Add recipeint
This commit is contained in:
@@ -73,6 +73,7 @@ class WrenchApi extends BaseController
|
||||
'disableaccount' => ['POST'],
|
||||
'myjobs' => ['POST'],
|
||||
'recipients' => ['POST'],
|
||||
'addrecipient' => ['POST'],
|
||||
'sendreferral' => ['POST'],
|
||||
'refferhx' => ['POST'],
|
||||
'accounttypes' => ['POST'],
|
||||
@@ -83,6 +84,9 @@ class WrenchApi extends BaseController
|
||||
|
||||
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
||||
switch ($endpoint) {
|
||||
case 'addrecipient':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_ADD_RECIPEINT;
|
||||
break;
|
||||
case 'jobmanagerlist':
|
||||
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user