use super::super::models::GitPullRequest;
use super::super::PullRequestsClient;
use crate::constants::ApiPath;
use crate::error::Result;
impl PullRequestsClient<'_> {
pub async fn get(&self, repo: &str, id: i64) -> Result<GitPullRequest> {
self.http.get(&ApiPath::pr(repo, id), &[]).await
}
}