File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class Apiv1ArtifactService implements ArtifactService {
24
24
queries . push ( `page=${ page } ` ) ;
25
25
const searchParams = [ ] ;
26
26
if ( ! ! type ) {
27
- searchParams . push ( `artifacts. type=${ type } ` ) ;
27
+ queries . push ( `type=${ type } ` )
28
28
}
29
29
if ( startDate != null ) {
30
30
searchParams . push ( `start=${ startDate . toISOString ( ) . split ( 'T' ) [ 0 ] } ` ) ;
@@ -33,7 +33,7 @@ export class Apiv1ArtifactService implements ArtifactService {
33
33
searchParams . push ( `start=${ endDate . toISOString ( ) . split ( 'T' ) [ 0 ] } ` ) ;
34
34
}
35
35
if ( regions . length > 0 ) {
36
- searchParams . push ( `engagement_region =${ regions . join ( ',' ) } ` ) ;
36
+ regions . forEach ( region => queries . push ( `region =${ region } ` ) ) ;
37
37
}
38
38
if ( searchParams . length > 0 ) {
39
39
queries . push ( `search=${ encodeURIComponent ( searchParams . join ( '&' ) ) } ` ) ;
You can’t perform that action at this time.
0 commit comments