Skip to content

Commit a8bc9fe

Browse files
committed
Remove unused variable
1 parent 6cb604d commit a8bc9fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/googledrive.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ GoogleDrive.prototype = {
446446
return Promise.resolve({statusCode: 304});
447447
}
448448

449-
const options2 = {};
450449
if (!meta.downloadUrl) {
451450
if (meta.exportLinks && meta.exportLinks['text/html']) {
452451
// Documents that were generated inside GoogleDocs have no
@@ -459,7 +458,7 @@ GoogleDrive.prototype = {
459458
}
460459
}
461460

462-
return this._request('GET', meta.downloadUrl, options2).then((response) => {
461+
return this._request('GET', meta.downloadUrl, {}).then((response) => {
463462
let body = response.response;
464463
if (meta.mimeType.match(/^application\/json/)) {
465464
try {

0 commit comments

Comments
 (0)