clean: remove redundant helper

This commit is contained in:
2025-12-22 15:42:36 +01:00
parent ab68257e74
commit 52ec5a010a

View File

@@ -31,13 +31,6 @@ sub startup {
}
);
$self->helper(
get_error_status => sub {
my ( $c, $err ) = @_;
return Urupam::Utils::get_error_status($err);
}
);
my $r = $self->routes;
my $api = $r->under('/api');
$api->post('/shorten')->to(