diff --git a/app/src/views/tool/ToolMigrations.vue b/app/src/views/tool/ToolMigrations.vue index 400b3627..823490dc 100644 --- a/app/src/views/tool/ToolMigrations.vue +++ b/app/src/views/tool/ToolMigrations.vue @@ -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() }) }