hush the warning

This commit is contained in:
Yanick Champoux 2023-10-31 16:29:48 -04:00
parent d9769d985e
commit 7a9e68a108

View File

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