diff options
Diffstat (limited to 'server/sonar-web/src/main/js/api/users.js')
-rw-r--r-- | server/sonar-web/src/main/js/api/users.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/users.js b/server/sonar-web/src/main/js/api/users.js new file mode 100644 index 00000000000..90910dd0d95 --- /dev/null +++ b/server/sonar-web/src/main/js/api/users.js @@ -0,0 +1,6 @@ +import $ from 'jquery'; + +export function getCurrentUser () { + let url = baseUrl + '/api/users/current'; + return $.get(url); +} |