Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
permission: fix distribution value parameter passing
  • Loading branch information
mickeyn committed Jun 21, 2017
1 parent 866a70a commit 416adcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Model/API/Permission.pm
Expand Up @@ -53,7 +53,7 @@ sub _get_modules_in_distribution {
return Future->done(undef)
unless keys %{$res};

$self->request( '/permission/by_module',
$self->request( '/permission/by_module', undef,
{ module => $res->{modules} } )->transform(
done => sub {
$_[0]->{permissions};
Expand Down

0 comments on commit 416adcd

Please sign in to comment.