diff options
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/api/security-hotspots.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/security-hotspots.ts b/server/sonar-web/src/main/js/api/security-hotspots.ts index 08b6d1e490d..0a54022b6db 100644 --- a/server/sonar-web/src/main/js/api/security-hotspots.ts +++ b/server/sonar-web/src/main/js/api/security-hotspots.ts @@ -46,7 +46,9 @@ export function setSecurityHotspotStatus( } export function commentSecurityHotspot(hotspotKey: string, comment: string): Promise<void> { - return post('api/hotspots/add_comment', { hotspot: hotspotKey, comment }).catch(throwGlobalError); + return post('/api/hotspots/add_comment', { hotspot: hotspotKey, comment }).catch( + throwGlobalError + ); } export function getSecurityHotspots( |