mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-30 12:24:56 +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",
|
||||
properties => {},
|
||||
},
|
||||
links => [ { rel => 'child', href => "{vmid}" } ],
|
||||
links => [ { rel => 'child', href => "{id}" } ],
|
||||
},
|
||||
code => sub {
|
||||
my ($param) = @_;
|
||||
|
@ -32,7 +32,7 @@ __PACKAGE__->register_method ({
|
||||
type => "object",
|
||||
properties => {},
|
||||
},
|
||||
links => [ { rel => 'child', href => "{vmid}" } ],
|
||||
links => [ { rel => 'child', href => "{id}" } ],
|
||||
},
|
||||
code => sub {
|
||||
my ($param) = @_;
|
||||
|
Loading…
Reference in New Issue
Block a user