aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
authorGrégoire Aubert <gregaubert@users.noreply.github.com>2017-03-22 13:40:13 +0100
committerGitHub <noreply@github.com>2017-03-22 13:40:13 +0100
commit685a373cc4a9028fbdd09ec2765074e8ef72e408 (patch)
tree4081f070b8e704f80626740cd1650a5eb97efea0 /server/sonar-web/src/main/js/api
parent926e6e3a8a76efd342b51c511426af6e4a15b765 (diff)
downloadsonarqube-685a373cc4a9028fbdd09ec2765074e8ef72e408.tar.gz
sonarqube-685a373cc4a9028fbdd09ec2765074e8ef72e408.zip
SONAR-8844 Add tags editor on the project homepage (#1821)
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r--server/sonar-web/src/main/js/api/components.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/components.js b/server/sonar-web/src/main/js/api/components.js
index 75fa13cb001..512f3a1f7ef 100644
--- a/server/sonar-web/src/main/js/api/components.js
+++ b/server/sonar-web/src/main/js/api/components.js
@@ -65,7 +65,7 @@ export function searchProjectTags(data?: { ps?: number, q?: string }) {
export function setProjectTags(data: { project: string, tags: string }) {
const url = '/api/project_tags/set';
- return postJSON(url, data);
+ return post(url, data);
}
export function getComponentTree(