Skip to content

Commit 8995995

Browse files
committed
Drop backpan_directory from author api
1 parent 4ffdb06 commit 8995995

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/MetaCPAN/Query/Release.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ sub author_status {
2323
my ( $id_2, $id_1 ) = $id =~ /^((\w)\w)/;
2424
$status->{links} = {
2525
cpan_directory => "http://cpan.org/authors/id/$id_1/$id_2/$id",
26-
backpan_directory =>
27-
"https://cpan.metacpan.org/authors/id/$id_1/$id_2/$id",
2826
cpants => "http://cpants.cpanauthors.org/author/$id",
2927
cpantesters_reports =>
3028
"http://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< backpan_directory cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
92+
qw< cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
9393
],
9494
'links has the correct keys'
9595
);

0 commit comments

Comments
 (0)