Skip to content

Commit 56fd0f8

Browse files
committed
Fixes getContent vs. getContents method name
1 parent f48167d commit 56fd0f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/checkQNetworkReplyErrorCodeUpdate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ const shortenCommitId = commitId => {
4545
};
4646

4747
const fetchQNetworkReplyErrorCodeListFromGitHub = async ( github ) => {
48-
console.log( github.repos );
49-
const response = await github.repos.getContent( {
48+
const getContent = github.repos.getContent || github.repos.getContents;
49+
const response = await getContent( {
5050
owner: 'qt',
5151
repo: 'qtbase',
5252
path: 'src/network/access/qnetworkreply.h',

0 commit comments

Comments
 (0)