diff options
-rw-r--r-- | src/github.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github.rs b/src/github.rs index f5598ba..0f4de77 100644 --- a/src/github.rs +++ b/src/github.rs @@ -41,6 +41,7 @@ impl Repo { } +/// Fetch all GitHub repositories for the given user. pub async fn fetch_repos() -> Result<Vec<Repo>, Error> { let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Accept", "application/vnd.github.v3+json".parse()?); |