mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 12:10:28 +00:00
Fix download url
This commit is contained in:
parent
4a35852169
commit
1669b215e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue