Skip to content

Commit

Permalink
Fix recv call on unblessed reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed May 12, 2017
1 parent 4ae7cec commit d929b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Controller/Author.pm
Expand Up @@ -63,7 +63,7 @@ sub index : Chained('root') PathPart('') Args(0) {

my @all_fav = map { $_->{fields}->{distribution} }
@{ $faves_data->{hits}->{hits} };
my $noLatest = $c->model('API::Release')->no_latest(@all_fav)->recv;
my $noLatest = $c->model('API::Release')->no_latest(@all_fav);
$took += $noLatest->{took} || 0;

$faves = [
Expand Down

0 comments on commit d929b11

Please sign in to comment.