mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-02-02 21:46:59 +03:00
Fix example to latest RestHandler
looking at the handle() sub from RestHandler.pm my $result = &$func($param); this parameters are not passed anymore
This commit is contained in:
parent
f5a73bff2c
commit
ef73f03b60
@ -166,7 +166,7 @@ __PACKAGE__->register_method ({
|
||||
type => 'string',
|
||||
},
|
||||
code => sub {
|
||||
my ($conn, $resp, $param) = @_;
|
||||
my ($param) = @_;
|
||||
|
||||
return $param->{text};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user