From 568f6ce7bffd16283992b97b28ff13797aadee39 Mon Sep 17 00:00:00 2001 From: Quentin RIBAC <quentin.ribac@xelians.fr> Date: Thu, 31 Mar 2022 11:23:33 +0200 Subject: [PATCH] FEAT #17436 TIME 0:05 using camelCase --- rest/index.php | 2 +- src/frontend/app/administration/user/user.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rest/index.php b/rest/index.php index f51427cc1a..3ee8527e6c 100755 --- a/rest/index.php +++ b/rest/index.php @@ -145,7 +145,7 @@ $app->get('/users/{id}/history', \History\controllers\HistoryController::class . $app->post('/password', \User\controllers\UserController::class . ':forgotPassword'); $app->put('/password', \User\controllers\UserController::class . ':updateForgottenPassword'); $app->put('/users/{id}/accountActivationNotification', \User\controllers\UserController::class . ':sendAccountActivationNotification'); -$app->get('/manageablegroups', \User\controllers\UserController::class . ':getManageableGroupsOfCurrentUser'); +$app->get('/manageableGroups', \User\controllers\UserController::class . ':getManageableGroupsOfCurrentUser'); //Search $app->post('/search/documents', \Search\controllers\SearchController::class . ':getDocuments'); diff --git a/src/frontend/app/administration/user/user.component.ts b/src/frontend/app/administration/user/user.component.ts index 4c26587a68..fe81558d5e 100644 --- a/src/frontend/app/administration/user/user.component.ts +++ b/src/frontend/app/administration/user/user.component.ts @@ -382,7 +382,7 @@ export class UserComponent implements OnInit { getManageableGroups() { return new Promise((resolve) => { - this.http.get('../rest/manageablegroups').pipe( + this.http.get('../rest/manageableGroups').pipe( tap((data: any) => { if (this.hasGroup) { const groupIds: number[] = this.userGroupsClone.map((group: any) => group.id); -- GitLab