We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99eb222 commit d00dd08Copy full SHA for d00dd08
lib/MetaCPAN/ES.pm
@@ -29,7 +29,7 @@ sub new ( $class, %args ) {
29
nodes => [$config_node],
30
),
31
index => $index,
32
- ( $args{type} ? ( type => $args{type} ) : () ),
+ type => ( $args{type} ? $args{type} : $index ),
33
}, $class;
34
}
35
0 commit comments