File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030my $gh_graphql = Net::GitHub::V4-> new(
3131 ( $gh_token ? ( access_token => $gh_token ) : () ) );
3232
33- my $es = MetaCPAN::ES-> new( index => " cpan " , type => " distribution" );
33+ my $es = MetaCPAN::ES-> new( index => " distribution" );
3434my $bulk = $es -> bulk();
3535
3636check_all_distributions();
4343
4444# make sure all distributions have an entry
4545sub check_all_distributions () {
46- my $es_release = MetaCPAN::ES-> new( type => " release" );
46+ my $es_release = MetaCPAN::ES-> new( index => " release" );
4747 my $scroll_release = $es_release -> scroll(
4848 body => {
4949 query => {
123123sub index_github_bugs () {
124124 log_debug {' Fetching GitHub issues' };
125125
126- my $es_release = MetaCPAN::ES-> new( type => " release" );
126+ my $es_release = MetaCPAN::ES-> new( index => " release" );
127127 my $scroll_release = $es_release -> scroll(
128128 body => {
129129 query => {
You can’t perform that action at this time.
0 commit comments