aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/users.js
diff options
context:
space:
mode:
authorStas Vilchik <stas-vilchik@users.noreply.github.com>2017-03-17 09:10:48 +0100
committerGitHub <noreply@github.com>2017-03-17 09:10:48 +0100
commitde4365079bad2df3bdee2133576dc913ffbf1ab2 (patch)
treea522ccb952f0d37f454e8188e13b3dec3f731912 /server/sonar-web/src/main/js/api/users.js
parent6a03df65cc0c91a26150ea172a2c480e07326ea1 (diff)
downloadsonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.tar.gz
sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.zip
format code using prettier (#1774)
Diffstat (limited to 'server/sonar-web/src/main/js/api/users.js')
-rw-r--r--server/sonar-web/src/main/js/api/users.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/api/users.js b/server/sonar-web/src/main/js/api/users.js
index a7b629041f7..a661bcace4e 100644
--- a/server/sonar-web/src/main/js/api/users.js
+++ b/server/sonar-web/src/main/js/api/users.js
@@ -19,12 +19,12 @@
*/
import { getJSON, post } from '../helpers/request';
-export function getCurrentUser () {
+export function getCurrentUser() {
const url = '/api/users/current';
return getJSON(url);
}
-export function changePassword (login, password, previousPassword) {
+export function changePassword(login, password, previousPassword) {
const url = '/api/users/change_password';
const data = { login, password };
@@ -35,12 +35,12 @@ export function changePassword (login, password, previousPassword) {
return post(url, data);
}
-export function getIdentityProviders () {
+export function getIdentityProviders() {
const url = '/api/users/identity_providers';
return getJSON(url);
}
-export function searchUsers (query) {
+export function searchUsers(query) {
const url = '/api/users/search';
const data = { q: query };
return getJSON(url, data);