Fix download url

This commit is contained in:
Silvano Cerza 2025-01-08 15:46:26 +01:00
parent 4a35852169
commit 1669b215e4

View file

@ -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(),
},