Skip to content

Commit

Permalink
Fix attribute type constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Oct 26, 2024
1 parent a7c947c commit a778f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Script/Snapshot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ has snap_name => (

has host => (
is => 'ro',
isa => Str,
isa => 'URI::http',
default => sub {
my $self = shift;
return $self->es->transport->cxn_pool->cxns->[0]->uri;
Expand Down

0 comments on commit a778f93

Please sign in to comment.