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

This commit is contained in:
Renaud Chaput 2025-05-06 08:08:44 +02:00 committed by GitHub
parent aedc5f6921
commit df6b808750
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
});