Skip to content
Snippets Groups Projects
Verified Commit 637ae6d1 authored by Damien's avatar Damien
Browse files

FEAT #10994 TIME 0:05 History adjustments

parent 47017866
No related branches found
No related tags found
No related merge requests found
...@@ -60,9 +60,9 @@ class HistoryController ...@@ -60,9 +60,9 @@ class HistoryController
public function get(Request $request, Response $response) public function get(Request $request, Response $response)
{ {
// if (!PrivilegeController::hasPrivilege(['userId' => $GLOBALS['id'], 'privilege' => 'manage_history'])) { if (!PrivilegeController::hasPrivilege(['userId' => $GLOBALS['id'], 'privilege' => 'manage_history'])) {
// return $response->withStatus(403)->withJson(['errors' => 'Service forbidden']); return $response->withStatus(403)->withJson(['errors' => 'Service forbidden']);
// } }
$queryParams = $request->getQueryParams(); $queryParams = $request->getQueryParams();
$body = $request->getParsedBody(); $body = $request->getParsedBody();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment