Skip to content

Commit

Permalink
@uppy/aws-s3: improve error when endpoint is not provided (#5361)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Jul 29, 2024
1 parent d8b8fc3 commit 05d0789
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@uppy/aws-s3/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ export default class AwsS3Multipart<
file: UppyFile<M, B>,
options: RequestOptions,
): Promise<AwsS3UploadParameters> {
this.#assertHost('getUploadParameters')
const { meta } = file
const { type, name: filename } = meta
const allowedMetaFields = getAllowedMetaFields(
Expand Down

0 comments on commit 05d0789

Please sign in to comment.