diff --git a/src/main/resources/public/app/components/teacherCard.component.js b/src/main/resources/public/app/components/teacherCard.component.js index 77ec92d..c5f17a6 100644 --- a/src/main/resources/public/app/components/teacherCard.component.js +++ b/src/main/resources/public/app/components/teacherCard.component.js @@ -152,7 +152,6 @@ function EditGroupDialogController($scope, $mdDialog, EducationService, group, G $scope.vm.formData.groupName != null && $scope.vm.formData.startYear != null && $scope.vm.formData.endYear != null && $scope.vm.formData.course != null) { GroupService.editGroup($scope.vm.formData, $scope.group.id); - GroupService.editGroupUsers($scope.vm.formData.users, $scope.group.id); $scope.showSimpleToast(); $scope.hide(); } diff --git a/src/main/resources/public/app/services/group.service.js b/src/main/resources/public/app/services/group.service.js index dc78756..72e101c 100644 --- a/src/main/resources/public/app/services/group.service.js +++ b/src/main/resources/public/app/services/group.service.js @@ -31,12 +31,6 @@ app.factory('GroupService', function (API) { data }) } - this.editGroupUsers = (users, groupId) => { - return API.patch({ - path: `groups/${groupId}/users`, - data: users - }) - } this.getGradingStatus = (groupId) => { return API.get({