You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to use GitHubScript's octokit to fetch the latest tag of a repository. Every time I try to access .data , it reports as undefined. However, if I copy and past the JSON into my browser and do .data[0], it gives me the object I want. What the heck is happening and how can I fix this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Workflow: https://github.com/aaronliu0130/TerminalImageViewer/commits/cimg/.github/workflows/test.yml
Runs: https://github.com/aaronliu0130/TerminalImageViewer/actions/workflows/test.yml
I've been trying to use GitHubScript's octokit to fetch the latest tag of a repository. Every time I try to access .data , it reports as undefined. However, if I copy and past the JSON into my browser and do .data[0], it gives me the object I want. What the heck is happening and how can I fix this?
Beta Was this translation helpful? Give feedback.
All reactions