fix: do not use the deprecated `/api/v1/instance` end point (#34613)

pull/34620/head
Renaud Chaput 7 months ago committed by GitHub
parent aedc5f6921
commit df6b808750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -105,7 +105,7 @@ class ReportReasonSelector extends PureComponent {
};
componentDidMount() {
api(false).get('/api/v1/instance').then(res => {
api(false).get('/api/v2/instance').then(res => {
this.setState({
rules: res.data.rules,
});

Loading…
Cancel
Save