Adapt to the Gerrit v2.16 DELETE API from plugins
Change-Id: If6ac245747e82a78cc08eb525c534b101bf55a6f
diff --git a/src/main/resources/static/js/account.js b/src/main/resources/static/js/account.js
index 8086193..e6dcab7 100644
--- a/src/main/resources/static/js/account.js
+++ b/src/main/resources/static/js/account.js
@@ -15,7 +15,6 @@
var app = angular.module('Account', [])
app.controller('AccountDeleteController', function AccountDeleteController($scope, $http, $window) {
-
$scope.account = {
"fullname" : "",
@@ -51,7 +50,7 @@
$http({
method: 'DELETE',
- url: '/a/accounts/self',
+ url: '/a/accounts/self/account~',
data: {
account_name: $scope.fullName
},