diff --git a/src/github/client.ts b/src/github/client.ts index 3a7c985..40c8e55 100644 --- a/src/github/client.ts +++ b/src/github/client.ts @@ -33,7 +33,7 @@ export default class GithubClient { localContentDir: string, ) { const res = await fetch( - `https://api.github.com/repos/${owner}/${repo}/contents/${repoContentDir}?${branch}`, + `https://api.github.com/repos/${owner}/${repo}/contents/${repoContentDir}?ref=${branch}`, { headers: this.headers(), },