hush the warning

releases
Yanick Champoux 2023-10-31 16:29:48 -04:00
parent d9769d985e
commit 7a9e68a108
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ $registry->add_type(
id => 'id',
links => {
self => sub ( $data, @ ) {
no warnings qw/ uninitialized /;
return "/peoples/$data->{id}";
}
} } );