Skip to content

Commit

Permalink
Release: use 'get' endpoint in API
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Sep 1, 2017
1 parent 4e85bf9 commit c10e696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Model/API/Release.pm
Expand Up @@ -27,7 +27,7 @@ it under the same terms as Perl itself.

sub get {
my ( $self, $author, $release ) = @_;
$self->request("/release/by_author_and_name/$author/$release");
$self->request("/release/$author/$release");
}

sub distribution {
Expand Down

0 comments on commit c10e696

Please sign in to comment.