Skip to content

Commit

Permalink
remove unused calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrating committed Jan 25, 2018
1 parent d3edeae commit 93feb45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
6 changes: 0 additions & 6 deletions src/main/resources/public/app/services/group.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 93feb45

Please sign in to comment.