File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
lib/modules/platform/bitbucket Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -670,13 +670,11 @@ export async function getIssueList(): Promise<Issue[]> {
670670 filters . push ( `reporter.uuid="${ renovateUserUuid } "` ) ;
671671 }
672672 const filter = encodeURIComponent ( filters . join ( ' AND ' ) ) ;
673- return (
674- (
675- await bitbucketHttp . getJson < { values : Issue [ ] } > (
676- `/2.0/repositories/${ config . repository } /issues?q=${ filter } ` ,
677- )
678- ) . body . values || [ ]
679- ) ;
673+ const url = `/2.0/repositories/${ config . repository } /issues?q=${ filter } ` ;
674+ const res = await bitbucketHttp . getJson < { values : Issue [ ] } > ( url , {
675+ cacheProvider : repoCacheProvider ,
676+ } ) ;
677+ return res . body . values || [ ] ;
680678 } catch ( err ) {
681679 logger . warn ( { err } , 'Error finding issues' ) ;
682680 return [ ] ;
You can’t perform that action at this time.
0 commit comments