Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/mod.ts>PullRequestClient#getPullRequest

Various HTTP clients for miscellaneous use.
Go to Latest
method PullRequestClient.prototype.getPullRequest
import { PullRequestClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/mod.ts";

Gets a pull request with a number that matches the given prNumber in a repository with a name that matches the given PullRequestClient.repoName.

Parameters

prNumber: number

The number of the pull request.

Returns

Promise<PullRequestModel>

The pull request.