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