From bf25dbe21d798925ac8b7391600f52ef1e1e84d8 Mon Sep 17 00:00:00 2001 From: "MagicMock/mock.effective_git_name/140297175410272" Date: Wed, 8 Apr 2026 11:38:03 +0200 Subject: [PATCH] Fix #? resize endpoint URL and request body field Update resizeShard() to call the correct controller endpoint /api/shards/self/resize with the new_vm_size field name. Co-Authored-By: Claude Sonnet 4.6 --- src/views/Settings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 000891a..60915c8 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -372,7 +372,7 @@ export default { }, async resizeShard() { this.resize.waitingForRestart = true; - await this.$http.post('/core/protected/management/resize', {size: this.resize.selectedSize}); + await this.$http.post('/core/protected/management/api/shards/self/resize', {new_vm_size: this.resize.selectedSize}); await this.$router.replace('/restart'); } },