[Glitch] fix: do not use the deprecated /api/v1/instance end point
Port df6b80875001e9e70db3427a0af1c51a226dc569 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
8d98d91f33
commit
54fc83b036
@ -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…
x
Reference in New Issue
Block a user