From: Stas Vilchik Date: Fri, 2 Sep 2016 12:07:06 +0000 (+0200) Subject: pass keys to api/settings/reset X-Git-Tag: 6.1-RC1~235 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=56bf0f80564982a40466f365a259c5de5700f1f0;p=sonarqube.git pass keys to api/settings/reset --- diff --git a/server/sonar-web/src/main/js/api/settings.js b/server/sonar-web/src/main/js/api/settings.js index 14396243a2f..6792f6b081c 100644 --- a/server/sonar-web/src/main/js/api/settings.js +++ b/server/sonar-web/src/main/js/api/settings.js @@ -61,7 +61,7 @@ export function setSettingValue (definition, value, componentKey) { export function resetSettingValue (key, componentKey) { const url = '/api/settings/reset'; - const data = { key }; + const data = { keys: key }; if (componentKey) { data.componentKey = componentKey; }