End point job list
This commit is contained in:
@@ -55,6 +55,7 @@ $endpoints = array(
|
||||
'sendreferral' => array('POST'),
|
||||
'refferhx' => array('POST'),
|
||||
'accounttypes' => array('POST'),
|
||||
'jobmanagerlist' => array('POST'),
|
||||
);
|
||||
|
||||
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
|
||||
@@ -117,6 +118,9 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
|
||||
}
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
switch ($endpoint) {
|
||||
case 'jobmanagerlist':
|
||||
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
|
||||
break;
|
||||
case 'homebanners':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS ;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user