aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-10-19 14:16:52 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-10-19 14:16:52 +0200
commit0ebb5790c6ad3847a260bcb6ea1faf4e1fdc0638 (patch)
treed3cd64ba8d3ff75c57271bb449042afc538303bd /server
parentf8ae4195cb259f285ce2546fe4921a470f61b276 (diff)
downloadsonarqube-0ebb5790c6ad3847a260bcb6ea1faf4e1fdc0638.tar.gz
sonarqube-0ebb5790c6ad3847a260bcb6ea1faf4e1fdc0638.zip
fix request helper
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/helpers/request.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/request.js b/server/sonar-web/src/main/js/helpers/request.js
index 00029d3e991..61eff255eaf 100644
--- a/server/sonar-web/src/main/js/helpers/request.js
+++ b/server/sonar-web/src/main/js/helpers/request.js
@@ -5,7 +5,7 @@ import _ from 'underscore';
* @type {{credentials: string}}
*/
const OPTIONS = {
- type: 'GET',
+ method: 'GET',
credentials: 'same-origin'
};