mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-30 18:04:44 +00:00
use correct field for child link
namely id instead of vmid, so that the child links are working in the api inspector and pvesh Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
f5b53d4c31
commit
4b48563a88
@ -69,7 +69,7 @@ __PACKAGE__->register_method ({
|
|||||||
type => "object",
|
type => "object",
|
||||||
properties => {},
|
properties => {},
|
||||||
},
|
},
|
||||||
links => [ { rel => 'child', href => "{vmid}" } ],
|
links => [ { rel => 'child', href => "{id}" } ],
|
||||||
},
|
},
|
||||||
code => sub {
|
code => sub {
|
||||||
my ($param) = @_;
|
my ($param) = @_;
|
||||||
|
@ -32,7 +32,7 @@ __PACKAGE__->register_method ({
|
|||||||
type => "object",
|
type => "object",
|
||||||
properties => {},
|
properties => {},
|
||||||
},
|
},
|
||||||
links => [ { rel => 'child', href => "{vmid}" } ],
|
links => [ { rel => 'child', href => "{id}" } ],
|
||||||
},
|
},
|
||||||
code => sub {
|
code => sub {
|
||||||
my ($param) = @_;
|
my ($param) = @_;
|
||||||
|
Loading…
Reference in New Issue
Block a user