bugfix (gdrive): remove headers coming from the google drive api

This commit is contained in:
Mickael Kerjean 2017-08-31 00:09:49 +10:00
parent a6ffdd881d
commit 28194b970b

View file

@ -231,8 +231,7 @@ module.exports = {
})
.then(function(stream){
stream.on('response', function(response) {
delete response.headers['content-disposition'];
delete response.headers['conection'];
delete response.headers;
});
return Promise.resolve(stream);
});