Skip to content

Commit cae840d

Browse files
committed
Fixes issue search result handling
1 parent 7c00ec4 commit cae840d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/checkForHttpStatusCodesUpdate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const searchForExistingGithubIssue = async ( { lastUpdatedDate, github, context
6363
const searchResult = await github.search.issuesAndPullRequests( {
6464
q: query,
6565
} );
66-
return searchResult;
66+
return searchResult.data;
6767
};
6868

6969
const createNewGithubIssue = async ( { httpStatusCodes, diffWithLastUsedVersion, github, context, dryRun } ) => {

0 commit comments

Comments
 (0)