nodejs-google-cloud-storage
nodejs-google-cloud-storage copied to clipboard
makePublic is not working !
Hey,
first of all thanks for this great module. However i did encounter a "bug".
Well not really a bug but whatever. If i use the makePublic function you generate a url with the generation tag. The problem is - as the Google XML API doesnt mention that the response header returns the generation - you actually want to access it. (https://cloud.google.com/storage/docs/reference-methods#headobject)
I tried to find a way to get the generation without iterating through the whole bucket, but i dont see any possibility to retrieve the generation using XML API.
Actually the problem is with the metaData function not makePublic. Google requires the generation to update any file.
I hope you can help me. Btw i can't use the json api, i need to stick with the XML api.
MMM... I guess your problem has been solved