Lines 104-112
sub list {
Link Here
|
104 |
$total = 10000 if $total > 10000; |
104 |
$total = 10000 if $total > 10000; |
105 |
$c->add_pagination_headers( |
105 |
$c->add_pagination_headers( |
106 |
{ |
106 |
{ |
107 |
base_total => $base_total, |
107 |
base_total => $base_total, |
108 |
total => $total, |
108 |
page => $page, |
109 |
params => $args, |
109 |
per_page => $per_page, |
|
|
110 |
query_params => $args, |
111 |
total => $total, |
110 |
} |
112 |
} |
111 |
); |
113 |
); |
112 |
return $c->render( status => 200, openapi => \@resources ); |
114 |
return $c->render( status => 200, openapi => \@resources ); |