diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx index ab80d7e9df9..6bb533c415c 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx @@ -62,7 +62,7 @@ export default class DeleteQualityGateForm extends React.PureComponent<Props, St event.preventDefault(); const { organization, qualityGate } = this.props; this.setState({ loading: true }); - deleteQualityGate(qualityGate.id).then( + deleteQualityGate({ id: qualityGate.id, organization }).then( () => { this.props.onDelete(qualityGate); this.context.router.replace(getQualityGatesUrl(organization)); |