diff --git a/public/js/controllers/groupsCtrl.js b/public/js/controllers/groupsCtrl.js index 809b7f1687..a8f21adbbd 100644 --- a/public/js/controllers/groupsCtrl.js +++ b/public/js/controllers/groupsCtrl.js @@ -154,8 +154,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', ' } $scope.reportAbuse = function(reporter, message) { message.flags[reporter._id] = true; - // Post to API should look something like this - //$http.post(ApiUrlService.get() + '/api/v2/groups/' + group._id + '/chat/' + message.id + '/flag'); + // @TODO @paglias API Call goes here Notification.text(window.env.t('abuseReported')); $rootScope.User.sync(); $scope.$close();