Skip to content

Commit

Permalink
rename Uploader to MultipartUploader
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Aug 31, 2021
1 parent 0ba8349 commit 55370c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@uppy/aws-s3-multipart/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const EventTracker = require('@uppy/utils/lib/EventTracker')
const emitSocketProgress = require('@uppy/utils/lib/emitSocketProgress')
const getSocketHost = require('@uppy/utils/lib/getSocketHost')
const { RateLimitedQueue } = require('@uppy/utils/lib/RateLimitedQueue')
const Uploader = require('./MultipartUploader')
const MultipartUploader = require('./MultipartUploader')

function assertServerError (res) {
if (res && res.error) {
Expand Down Expand Up @@ -187,7 +187,7 @@ module.exports = class AwsS3Multipart extends BasePlugin {
this.uppy.emit('s3-multipart:part-uploaded', cFile, part)
}

const upload = new Uploader(file.data, {
const upload = new MultipartUploader(file.data, {
// .bind to pass the file object to each handler.
createMultipartUpload: this.opts.createMultipartUpload.bind(this, file),
listParts: this.opts.listParts.bind(this, file),
Expand Down

0 comments on commit 55370c5

Please sign in to comment.