Skip to content

Commit

Permalink
reuse method
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni committed Feb 4, 2025
1 parent 7ac59a7 commit 53ffd1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/api/url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl GitHubUrl {

pub fn new_with_org(url: String, org: &str) -> anyhow::Result<Self> {
let auth = get_auth_header(org)?;
Ok(Self { url, auth })
Ok(Self::new(url, auth))
}

pub fn repos(org: &str, repo: &str, remaining_endpoint: &str) -> anyhow::Result<Self> {
Expand Down

0 comments on commit 53ffd1e

Please sign in to comment.