mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
bugfix (gdrive): remove headers coming from the google drive api
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user