Skip to content

Commit 53720fa

Browse files
committed
add missing backpan author link
1 parent 5c8e2ab commit 53720fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/MetaCPAN/Query/Release.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ sub author_status {
2424
$status->{links} = {
2525
cpan_directory =>
2626
"https://www.cpan.org/authors/id/$id_1/$id_2/$id",
27+
backpan_directory =>
28+
"https://cpan.metacpan.org/authors/id/$id_1/$id_2/$id",
2729
cpants => "https://cpants.cpanauthors.org/author/$id",
2830
cpantesters_reports =>
2931
"https://www.cpantesters.org/author/$id_1/$id.html",

t/server/controller/author.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ test_psgi app, sub {
8989
is_deeply(
9090
[ sort keys %{$links} ],
9191
[
92-
qw< cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
92+
qw< backpan_directory cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
9393
],
9494
'links has the correct keys'
9595
);

0 commit comments

Comments
 (0)