forgot to npm run bundle

This commit is contained in:
Edwin Sirko
2024-01-29 21:05:30 -05:00
parent 207498716a
commit b0301f588c
2 changed files with 9 additions and 7 deletions
+6 -4
View File
@@ -6,13 +6,15 @@ export async function getRepositoryMetadata(
token: string
): Promise<{ repoId: string; ownerId: string }> {
const response = await fetch(
`${process.env.GITHUB_API_URL}/repos/${repository}`, {
`${process.env.GITHUB_API_URL}/repos/${repository}`,
{
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
'Accept': 'application/vnd.github.v3+json'
Authorization: `Bearer ${token}`,
Accept: 'application/vnd.github.v3+json'
}
})
}
)
if (!response.ok) {
throw new Error(