Skip to content

Commit

Permalink
🔨: revert back, as the upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
dahoba authored and izayl committed Oct 26, 2023
1 parent 9cf875b commit 1071517
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { getTopTracks } = require('./spotify')
const { GH_TOKEN: github_token, GIST_ID: gist_id } = process.env

const octo = new Octokit({
auth: `${github_token}`,
auth: `token ${github_token}`,
})

async function main() {
Expand Down Expand Up @@ -36,6 +36,7 @@ async function updateTopTracks(json) {
gist = await octo.gists.get({
gist_id,
})
// console.log('update success!')
} catch (error) {
console.error(
`spotify-box ran into an issue for getting your gist ${gist_id}:\n${error}`
Expand Down

0 comments on commit 1071517

Please sign in to comment.