Fix data , upload routes

This commit is contained in:
CHIEFSOFT\ameye
2023-06-01 10:08:11 -04:00
parent f60f4cf9fd
commit 66af574c17
4 changed files with 6 additions and 1 deletions
+2
View File
@@ -133,6 +133,8 @@ $routes->post('/en/wrench/api/v1/pendingjobcancel', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/assigntask', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/uploads', 'WrenchApi::apigate');
//$routes->post('/en/wrench/api/v1/blogdata', 'WrenchBlog::apigate');
//$routes->post('/en/wrench/api/v1/blogitem', 'WrenchBlog::apigate');
+2
View File
@@ -101,6 +101,8 @@ class WrenchApi extends BaseController
'pendingjobcancel' => ['POST'],
'assigntask' => ['POST'],
'resources'=> ['POST'],
'uploads'=> ['POST'],
];
return $endpoints;
}
+1
View File
@@ -80,6 +80,7 @@ $endpoints = array(
'pendingjobcancel' => array('POST'),
'assigntask' => array('POST'),
'resources'=> array('POST'),
'uploads'=> array('POST'),
);
$call_backend = true; // sometimes we need to overwite the call to the extenstion API