diff --git a/src/interactors/github.rs b/src/interactors/github.rs index a3e95cd..386e5cb 100644 --- a/src/interactors/github.rs +++ b/src/interactors/github.rs @@ -16,7 +16,7 @@ pub fn retrieve_file_at_path(service: S, repo_path: &RepoPath, path: &Relativ where S: Service { let path_str: &str = path.as_ref(); - let uri_future = format!("{}/{}/{}/master/{}", + let uri_future = format!("{}/{}/{}/HEAD/{}", GITHUB_USER_CONTENT_BASE_URI, repo_path.qual.as_ref(), repo_path.name.as_ref(),