Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
signingUrlQueryParams: this.props.signingUrlQueryParams,
signingUrlHeaders: this.props.signingUrlHeaders,
uploadRequestHeaders: this.props.headers || this.props.uploadRequestHeaders,
contentDisposition: this.props.contentDisposition,
onProgress: this.onProgress,
onFinishS3Put: this.onFinish,
onError: this.onError,
server: this.props.server || this.props.host || '',
}, this.props.uploaderOptions)
if (this.props.preprocess) options.preprocess = this.props.preprocess
new S3Upload(options) // eslint-disable-line
this.props.onDrop && this.props.onDrop(files, rejectedFiles)
}