notifications

This commit is contained in:
CHIEFSOFT\ameye
2023-12-07 21:43:44 -05:00
parent 5ed0ca0d31
commit abfa61d4e7
+4 -2
View File
@@ -35,6 +35,8 @@ class WrenchCrons extends BaseController
public function cron_notifications()
{
log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001");
log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001");
$in["action"] = WRB_JOB_CRONJOB;
$wrenchboard = new \App\Models\BackendModel();
$out=[];
@@ -42,8 +44,8 @@ class WrenchCrons extends BaseController
$in['call_action'] = WRB_CRONJOB_NOTIFICATIONS;
$in['one_limit'] = 10;
$ret['WRB_CRONJOB_NOTIFICATIONS'] = $wrenchboard->wrenchboard_api($in, $out);
log_message('critical', "WrenchCrons ===> 0001");
$out = $ret;
log_message('critical', "WrenchCrons Out ===> cron_notifications ******** 0001");
//$response = []; //json_decode($complete, true);
return $this->response->setJson($out);
}