henryperson / twitchmultivod

38 stars 5 forks source link

Cleanup existing GQL queries #7

Closed thomasasfk closed 3 years ago

thomasasfk commented 3 years ago

Hey, I raised a PR a while ago that swapped to GQL - but I done it in an ugly way.

It's been eating at my conscience the last few months so for my own sanity I raised this PR.

I ran this locally and confirmed both worked, but might be worth you trying too as a sanity check.

Also love seeing the progress you're making with this project, good job!

henryperson commented 3 years ago

Oh thanks, I'd actually spent a bit trying to simplify this (especially when writing the new user -> videos query) but could never get it. Guess I wasn't experienced enough with JS to know of JSON.stringify