1
0
mirror of synced 2025-12-21 19:06:49 -05:00

update Octokit API call

This commit is contained in:
Sarah Schneider
2021-06-07 15:14:36 -04:00
parent 83dd50c13a
commit b74cc0423b

View File

@@ -81,7 +81,7 @@ async function getContentsForBlob (owner, repo, blob) {
// https://docs.github.com/rest/reference/repos#get-repository-content
async function getContents (owner, repo, ref, path) {
try {
const { data } = await github.repos.getContents({
const { data } = await github.repos.getContent({
owner,
repo,
ref,