]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG/API2/MyNetworks.pm: fix links attribute
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 18 Jan 2018 08:19:27 +0000 (09:19 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 18 Jan 2018 08:19:27 +0000 (09:19 +0100)
PMG/API2/MyNetworks.pm

index 2a8b6bf01583166dadf872a3e601506feb399ecf..8394096372e11a087d89d77385407ba0f7fc6685 100644 (file)
@@ -34,7 +34,7 @@ __PACKAGE__->register_method ({
                cidr => { type => 'string'},
            },
        },
-       links => [ { rel => 'child', href => "{cide}" } ],
+       links => [ { rel => 'child', href => "{cidr}" } ],
     },
     code => sub {
        my ($param) = @_;