mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix wrong args for /migration/run
This commit is contained in:
parent
40ef5b2d7e
commit
0acbbf8550
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ export default {
|
|||
}
|
||||
// Check that every migration's disclaimer has been checked.
|
||||
if (Object.values(this.checked).every(value => value === true)) {
|
||||
api.post('migrations/run', { accept_disclaimer: true }).then(() => {
|
||||
api.post('migrations/run?accept_disclaimer').then(() => {
|
||||
this.$refs.view.fetchQueries()
|
||||
})
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ export default {
|
|||
const confirmed = await this.$askConfirmation(this.$i18n.t('confirm_migrations_skip'))
|
||||
if (!confirmed) return
|
||||
|
||||
api.post('/migrations/run', { skip: true, targets: id }).then(() => {
|
||||
api.post('/migrations/run', { skip: '', targets: id }).then(() => {
|
||||
this.$refs.view.fetchQueries()
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue