From 1669b215e4904492ed323d10ee017878b28fc4a0 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Wed, 8 Jan 2025 15:46:26 +0100 Subject: [PATCH] Fix download url --- src/github/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), },