Browse Source

Use this.opts instead of opts (#1618)

Artur Paikin 5 năm trước cách đây
mục cha
commit
b8aa4bdd30
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)