We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb604d commit a8bc9feCopy full SHA for a8bc9fe
src/googledrive.js
@@ -446,7 +446,6 @@ GoogleDrive.prototype = {
446
return Promise.resolve({statusCode: 304});
447
}
448
449
- const options2 = {};
450
if (!meta.downloadUrl) {
451
if (meta.exportLinks && meta.exportLinks['text/html']) {
452
// Documents that were generated inside GoogleDocs have no
@@ -459,7 +458,7 @@ GoogleDrive.prototype = {
459
458
460
461
462
- return this._request('GET', meta.downloadUrl, options2).then((response) => {
+ return this._request('GET', meta.downloadUrl, {}).then((response) => {
463
let body = response.response;
464
if (meta.mimeType.match(/^application\/json/)) {
465
try {
0 commit comments