Set preferences

This commit is contained in:
CHIEFSOFT\ameye
2024-07-01 10:07:46 -04:00
parent 5b34da28b9
commit bcc69ff8a8
6 changed files with 13 additions and 2 deletions
@@ -261,6 +261,7 @@ abstract class BaseController extends Controller
'recentactivities' => ['POST'],
'playground' => ['POST'],
'preferences' => ['POST'],
'setpreferences' => ['POST']
];
return $endpoints;
}
+3
View File
@@ -55,6 +55,9 @@ class WrenchApi extends BaseController
$in["action"] = WRENCHBOARD_ACCOUNT_PREFERENCES;
//preferences // define('WRENCHBOARD_ACCOUNT_PREFERENCES', 11065);
break;
case 'setpreferences':
$in["action"] = WRENCHBOARD_ACCOUNT_UPDATE_PREFS;
break;
case 'cachecontacts':
log_message('critical', "************************ cachecontacts 0001 ".serialize($in));
$this->processContacts( $in );