Ver Fonte

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

Christian Franke há 2 anos atrás
pai
commit
7f1dc6804d
1 ficheiros alterados com 1 adições e 1 exclusões
  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')
     }