From 56bf0f80564982a40466f365a259c5de5700f1f0 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 2 Sep 2016 14:07:06 +0200 Subject: [PATCH] pass keys to api/settings/reset --- server/sonar-web/src/main/js/api/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5