diff options
Diffstat (limited to 'server/sonar-web/src/main/js/api/user-tokens.ts')
-rw-r--r-- | server/sonar-web/src/main/js/api/user-tokens.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/user-tokens.ts b/server/sonar-web/src/main/js/api/user-tokens.ts index c016d4452a3..1cdd58a824e 100644 --- a/server/sonar-web/src/main/js/api/user-tokens.ts +++ b/server/sonar-web/src/main/js/api/user-tokens.ts @@ -23,7 +23,7 @@ import { NewUserToken, UserToken } from '../types/token'; /** List tokens for given user login */ export function getTokens(login: string): Promise<UserToken[]> { - return getJSON('/api/user_tokens/search', { login }).then(r => r.userTokens, throwGlobalError); + return getJSON('/api/user_tokens/search', { login }).then((r) => r.userTokens, throwGlobalError); } export function generateToken(data: { |