aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/users.js
diff options
context:
space:
mode:
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);