瀏覽代碼

Use this.opts instead of opts (#1618)

Artur Paikin 5 年之前
父節點
當前提交
b8aa4bdd30
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/@uppy/golden-retriever/src/index.js

+ 1 - 1
packages/@uppy/golden-retriever/src/index.js

@@ -34,7 +34,7 @@ module.exports = class GoldenRetriever extends Plugin {
     }
     this.IndexedDBStore = new IndexedDBStore(Object.assign(
       { expires: this.opts.expires },
-      opts.indexedDB || {},
+      this.opts.indexedDB || {},
       { storeName: uppy.getID() }))
 
     this.saveFilesStateToLocalStorage = this.saveFilesStateToLocalStorage.bind(this)