diff --git a/api/GitApi.ts b/api/GitApi.ts index e21ff89..b9d71cd 100644 --- a/api/GitApi.ts +++ b/api/GitApi.ts @@ -117,7 +117,7 @@ export interface IGitApi extends basem.ClientApiBase { getPullRequestReviewers(repositoryId: string, pullRequestId: number, project?: string): Promise; updatePullRequestReviewer(reviewer: GitInterfaces.IdentityRefWithVote, repositoryId: string, pullRequestId: number, reviewerId: string, project?: string): Promise; updatePullRequestReviewers(patchVotes: GitInterfaces.IdentityRefWithVote[], repositoryId: string, pullRequestId: number, project?: string): Promise; - getPullRequestById(pullRequestId: number, project?: string): Promise; + getPullRequestById(pullRequestId: number, project?: string): Promise; getPullRequestsByProject(project: string, searchCriteria: GitInterfaces.GitPullRequestSearchCriteria, maxCommentLength?: number, skip?: number, top?: number): Promise; createPullRequest(gitPullRequestToCreate: GitInterfaces.GitPullRequest, repositoryId: string, project?: string, supportsIterations?: boolean): Promise; getPullRequest(repositoryId: string, pullRequestId: number, project?: string, maxCommentLength?: number, skip?: number, top?: number, includeCommits?: boolean, includeWorkItemRefs?: boolean): Promise; @@ -5425,7 +5425,7 @@ export class GitApi extends basem.ClientApiBase implements IGitApi { public async getPullRequestById( pullRequestId: number, project?: string - ): Promise { + ): Promise { return new Promise(async (resolve, reject) => { let routeValues: any = {