ソースを参照

@uppy/aws-s3-multipart: Fix typo in url check (#4211)

Christian Franke 2 年 前
コミット
7f1dc6804d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/@uppy/aws-s3-multipart/src/index.js

+ 1 - 1
packages/@uppy/aws-s3-multipart/src/index.js

@@ -568,7 +568,7 @@ export default class AwsS3Multipart extends BasePlugin {
       Object.assign(opts, file.tus)
     }
 
-    if (file.remove.url == null) {
+    if (file.remote.url == null) {
       throw new Error('Cannot connect to an undefined URL')
     }