user preference

This commit is contained in:
CHIEFSOFT\ameye
2023-12-30 08:01:12 -05:00
parent b64a0f9df3
commit 9e617d64e2
8 changed files with 28 additions and 7 deletions
@@ -241,6 +241,7 @@ abstract class BaseController extends Controller
'reqdel' => ['POST'],
'recentactivities' => ['POST'],
'playground' => ['POST'],
'preferences' => ['POST'],
];
return $endpoints;
}
+4
View File
@@ -45,6 +45,10 @@ class WrenchApi extends BaseController
}
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
switch ($endpoint) {
case 'preferences':
$in["action"] = WRENCHBOARD_ACCOUNT_PREFERENCES;
//preferences // define('WRENCHBOARD_ACCOUNT_PREFERENCES', 11065);
break;
case 'cachecontacts':
log_message('critical', "************************ cachecontacts 0001 ".serialize($in));
$this->processContacts( $in );