Closed madkoding closed 7 years ago
Kind of confused here: why did you close this PR?
Oh, i closed by mistake :p
awesome, thanks. I will merge this when I get home later today and then push a new version up to npm
No new version yet?
sorry about that, I've been in the middle of moving house so some things have fallen off my radar that shouldn't have.
hm, so I had to revert landing this patch because I just noticed that on systems that are "just someone's computer" rather than a hardcore dev machine, this relies on node-gyp building node-expat, which is no good. Almost now regular folks have a working C++ compilation setup on Windows - a different XML reader will have to be used (and it doesn't need to read in the XML as json, just xml parsing should be fine too for what it's being used for)
I'll try then with xml2js, wich not use node-expat and then i'll make a new pull request
This will check correctly if there are errors in api request (Like permissions errors that not returns in previous code)
Now return the error in json format as well the photoid