diff --git a/app/src/views/tool/ToolMigrations.vue b/app/src/views/tool/ToolMigrations.vue index dbd496a0..dc93780e 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.put('migrations/run?accept_disclaimer', {}, 'migrations.run').then(() => { + api.put('migrations?accept_disclaimer', {}, 'migrations.run').then(() => { this.$refs.view.fetchQueries() }) } @@ -130,7 +130,7 @@ export default { async skipMigration (id) { const confirmed = await this.$askConfirmation(this.$i18n.t('confirm_migrations_skip')) if (!confirmed) return - api.put('/migrations/run', { skip: '', targets: id }, 'migration.skip').then(() => { + api.put('/migrations/' + id, { skip: '', targets: id }, 'migration.skip').then(() => { this.$refs.view.fetchQueries() }) }