Closed behoyh closed 2 years ago
Thanks, @behoyh! I'll find some time this week to review and merge this PR.
Happy to help!
Nice work, @behoyh
I've commented on a couple of really minor issues, we can merge as soon as you resolve them.
Also, since you almost rewrote the code, I think it's an opportunity to clean up a bit. Like using async/await, const/let instead of var, etc.
Thanks!
Hey @robincsamuel,
For sure. Also I wanted to cut the extraneous exists() call in serve(), it seems like a waste of resources to what just amounts to downloading the image twice. I'll work on the changes and resolve when I do!
Fixes #26
Fixes #36
Thanks @behoyh
This PR adds Google Drive API v3 capabilities to Ghost. There should be no breaking changes, while benefits from the new authenticated quota system and increased ease of use should make this plugin on-par with other Ghost storage plugins in terms of performance and reliability.