[pve-devel] [PATCH proxmox-widget-toolkit 1/1] apt repos: use correct URL
Fabian Ebner
f.ebner at proxmox.com
Thu Jul 1 09:53:59 CEST 2021
so there is a 'result' property, which the window expects.
Suggested-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
src/node/APTRepositories.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js
index baca834..53ffc1a 100644
--- a/src/node/APTRepositories.js
+++ b/src/node/APTRepositories.js
@@ -167,7 +167,7 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
Ext.create('Proxmox.window.APTRepositoryAdd', {
repoInfo: me.repoInfo,
- url: `/api2/json/nodes/${panel.nodename}/apt/repositories`,
+ url: `/api2/extjs/nodes/${panel.nodename}/apt/repositories`,
method: 'PUT',
extraRequestParams: extraParams,
listeners: {
--
2.30.2
More information about the pve-devel
mailing list