Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/github/githubRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export class GitHubRepository implements IGitHubRepository, vscode.Disposable {
Logger.debug(`Fetch mentionable users - enter`, GitHubRepository.ID);
const { query, supportsGraphQl, remote } = await this.ensure();

if (supportsGraphQl) {
if (supportsGraphQl()) {
let after = null;
let hasNextPage = false;
let ret: IAccount[] = [];
Expand Down
2 changes: 1 addition & 1 deletion src/github/pullRequestManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ export class PullRequestManager {

async getPullRequestComments(pullRequest: PullRequestModel): Promise<Comment[]> {
const { supportsGraphQl } = pullRequest.githubRepository;
return supportsGraphQl
return supportsGraphQl()
? this.getAllPullRequestReviewComments(pullRequest)
: this.getPullRequestReviewComments(pullRequest);
}
Expand Down