moved some of the inserve api enpoints to different places
This commit is contained in:
@@ -13,6 +13,7 @@ $API_inserve->setupConnection();
|
||||
if ($API_inserve->request_method === 'GET') {
|
||||
|
||||
if ($_GET['action'] = 'auth/me') {
|
||||
$API_inserve->checkPermissions('admin-sources', 'RO');
|
||||
|
||||
# This api call, when called from the frontend will not be forwarding to a url.
|
||||
$API_inserve->return_url = false;
|
||||
@@ -21,6 +22,3 @@ if ($API_inserve->request_method === 'GET') {
|
||||
http_response_code($API_inserve->httpCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user