jvcalderon / gist-client

A client to consume Gist API with JS
MIT License
9 stars 0 forks source link

How could I get the REVISION_SHA? #4

Closed jrainlau closed 5 years ago

jrainlau commented 5 years ago

Hello. I would like to use this amazing project to build a gist desktop app by electron, but I found out that it is confuse for me to use api .getRevisions(). I don't know how to get the param REVISION_SHA.

Looking for your reply, thanks!

jrainlau commented 5 years ago

I figured it out by calling .getOneById() and recived version from the res.