mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 21:04:46 +01:00
bugfix (gdrive): remove headers coming from the google drive api
This commit is contained in:
parent
a6ffdd881d
commit
28194b970b
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue