Fix some API calls that should not use an API token (#30401)
This commit is contained in:
parent
2c5ab8f647
commit
15d3070754
7 changed files with 9 additions and 9 deletions
|
@ -22,7 +22,7 @@ export default class Trends extends PureComponent {
|
|||
componentDidMount () {
|
||||
const { limit } = this.props;
|
||||
|
||||
api().get('/api/v1/admin/trends/tags', { params: { limit } }).then(res => {
|
||||
api(false).get('/api/v1/admin/trends/tags', { params: { limit } }).then(res => {
|
||||
this.setState({
|
||||
loading: false,
|
||||
data: res.data,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue