Small fixes

This commit is contained in:
Andras Bacsai
2022-02-20 00:17:44 +01:00
parent b931c5f638
commit 1cfaef911c
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@
}
} else if (type === 'github') {
const files = await get(`${apiUrl}/repos/${repository}/contents?ref=${branch}`, {
Authorization: `Bearer ${$session.ghToken || ghToken}`,
Authorization: `Bearer ${$session.ghToken}`,
Accept: 'application/vnd.github.v2.json'
});
const packageJson = files.find(