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
|
@ -34,7 +34,7 @@ export default class Retention extends PureComponent {
|
|||
componentDidMount () {
|
||||
const { start_at, end_at, frequency } = this.props;
|
||||
|
||||
api().post('/api/v1/admin/retention', { start_at, end_at, frequency }).then(res => {
|
||||
api(false).post('/api/v1/admin/retention', { start_at, end_at, frequency }).then(res => {
|
||||
this.setState({
|
||||
loading: false,
|
||||
data: res.data,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue