File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/@uppy/companion/src/server Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ class Uploader {
236236 }
237237
238238 if ( protocol === PROTOCOLS . s3Multipart && ! this . s3Upload ) {
239- return this . uploadS3 ( )
239+ return this . uploadS3Multipart ( )
240240 }
241241 // @TODO disabling parallel uploads and downloads for now
242242 // if (!this.options.endpoint) return
@@ -492,7 +492,7 @@ class Uploader {
492492 /**
493493 * Upload the file to S3 while it is still being downloaded.
494494 */
495- uploadS3 ( ) {
495+ uploadS3Multipart ( ) {
496496 const file = createTailReadStream ( this . path , {
497497 tail : true
498498 } )
@@ -501,13 +501,13 @@ class Uploader {
501501 file . close ( )
502502 } )
503503
504- return this . _uploadS3 ( file )
504+ return this . _uploadS3MultipartStream ( file )
505505 }
506506
507507 /**
508508 * Upload a stream to S3.
509509 */
510- _uploadS3 ( stream ) {
510+ _uploadS3MultipartStream ( stream ) {
511511 if ( ! this . options . s3 ) {
512512 this . emitError ( new Error ( 'The S3 client is not configured on this companion instance.' ) )
513513 return
You can’t perform that action at this time.
0 commit comments