diff --git a/app/src/views/update/SystemUpdate.vue b/app/src/views/update/SystemUpdate.vue index 37c717ce..282e64a6 100644 --- a/app/src/views/update/SystemUpdate.vue +++ b/app/src/views/update/SystemUpdate.vue @@ -74,7 +74,7 @@ export default { return { queries: [ ['GET', 'migrations?pending'], - ['PUT', 'update'] + ['PUT', 'update/all'] ], // API data migrationsNotDone: undefined, @@ -95,10 +95,7 @@ export default { const confirmed = await this.$askConfirmation(confirmMsg) if (!confirmed) return - const uri = type === 'specific_app' - ? 'upgrade/apps?app=' + id - : 'upgrade?' + type - + const uri = id !== null ? `apps/${id}/upgrade` : 'upgrade/' + type api.put(uri).then(() => { this.$router.push({ name: 'tool-logs' }) })