diff options
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r-- | server/sonar-web/src/main/js/api/users.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/users.ts b/server/sonar-web/src/main/js/api/users.ts index 9d8282ba5be..73cee845733 100644 --- a/server/sonar-web/src/main/js/api/users.ts +++ b/server/sonar-web/src/main/js/api/users.ts @@ -97,3 +97,7 @@ export function setHomePage(homepage: T.HomePage): Promise<void | Response> { export function setUserSetting(setting: T.CurrentUserSetting): Promise<void | Response> { return post('/api/users/set_setting', setting).catch(throwGlobalError); } + +export function dismissSonarlintAd(): Promise<void | Response> { + return post('/api/users/dismiss_sonarlint_ad').catch(throwGlobalError); +} |