Skip to content

Commit

Permalink
Applied appropriate scope for deleteRef method.
Browse files Browse the repository at this point in the history
  • Loading branch information
coreybutler committed Jan 29, 2020
1 parent 0977cbc commit 74730ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function run() {
})

// Delete tag reference
const tagresponse = await github.repos.deleteRef({
const tagresponse = await github.git.deleteRef({
owner,
repo,
ref: `refs/tags/${data.tag_name}`
Expand Down

0 comments on commit 74730ca

Please sign in to comment.