diff options
author | guillaume-peoch-sonarsource <91735163+guillaume-peoch-sonarsource@users.noreply.github.com> | 2021-11-02 15:23:44 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-11-03 20:03:31 +0000 |
commit | d26db95b948a1a52eb331e6bab06688858b8ad42 (patch) | |
tree | c18d7f14947dc2cdc0c178f771ad58c444ab81e2 /server/sonar-web/src/main/js/api | |
parent | a8fd935e8321f946737324aa37d6a62e58f136d5 (diff) | |
download | sonarqube-d26db95b948a1a52eb331e6bab06688858b8ad42.tar.gz sonarqube-d26db95b948a1a52eb331e6bab06688858b8ad42.zip |
SONAR-15588 Dismiss sonarlint promotion
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); +} |