File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,10 @@ sub index : Chained('root') PathPart('') Args(0) {
55
55
@{ $releases -> {releases } };
56
56
$c -> res-> last_modified($date ) if $date ;
57
57
58
- my $faves = $c -> model(' API::Favorite' )-> by_user( $author -> {user } )-> get;
58
+ # Issue: https://github.com/metacpan/metacpan-web/issues/3235
59
+ # Explicitly setting size to 500 to override the default size 250.
60
+ my $size = 500;
61
+ my $faves = $c -> model(' API::Favorite' )-> by_user( $author -> {user }, $size )-> get;
59
62
60
63
my $profiles = $c -> model(' API::Author' )-> profile_data;
61
64
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ sub by_user {
24
24
$size ||= 250;
25
25
return Future-> done( [] )
26
26
if !defined $user ;
27
- return $self -> request( " /favorite/by_user/$user " , { size => $size } )
28
- -> transform(
27
+ return $self -> request( " /favorite/by_user/$user " , undef ,
28
+ { size => $size } ) -> transform(
29
29
done => sub {
30
30
my $data = shift ;
31
31
return [] unless exists $data -> {favorites };
You can’t perform that action at this time.
0 commit comments