The axios response has a data property that needs to be accessed to get the gist contents
Then when trying to commit the fix I couldn't get the linter to pass. Added a bunch of typescript plugins for eslint to fix the linter errors I was getting. Along the way it auto-formatted the file
This is the axios bug I ran into: https://github.com/vighnesh153/simple-github-gist-api/compare/master...gsgalloway:axios-bugfix?expand=1#diff-1f7b1dc25ba39718983fc93bec0ce58fae47500c0e71c6797ff307a9d2c8613bR110-R114
The axios response has a
data
property that needs to be accessed to get the gist contentsThen when trying to commit the fix I couldn't get the linter to pass. Added a bunch of typescript plugins for eslint to fix the linter errors I was getting. Along the way it auto-formatted the file