diff options
Diffstat (limited to 'server/sonar-web/src/main/js/api/quality-gates.ts')
-rw-r--r-- | server/sonar-web/src/main/js/api/quality-gates.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/api/quality-gates.ts b/server/sonar-web/src/main/js/api/quality-gates.ts index b7eb009e7f1..10bc60cea6c 100644 --- a/server/sonar-web/src/main/js/api/quality-gates.ts +++ b/server/sonar-web/src/main/js/api/quality-gates.ts @@ -74,10 +74,6 @@ export function setQualityGateAsDefault(id: string): Promise<void | Response> { return post('/api/qualitygates/set_as_default', { id }).catch(throwGlobalError); } -export function unsetQualityGateAsDefault(id: string): Promise<void | Response> { - return post('/api/qualitygates/unset_default', { id }).catch(throwGlobalError); -} - export function createCondition(gateId: string, condition: RequestData): Promise<any> { return postJSON('/api/qualitygates/create_condition', { ...condition, gateId }); } |