mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-21 01:15:35 +00:00
@uppy/aws-s3: remove console.error (#5607)
Update HTTPCommunicationQueue.ts https://github.com/transloadit/uppy/pull/5602#discussion_r1916248098
This commit is contained in:
parent
0e2bdfdaa8
commit
efec2374b8
1 changed files with 2 additions and 5 deletions
|
|
@ -276,12 +276,9 @@ export class HTTPCommunicationQueue<M extends Meta, B extends Body> {
|
|||
signal,
|
||||
}).abortOn(signal)) as unknown as B // todo this doesn't make sense
|
||||
|
||||
// Note: `fields.key` is not returned by old Companion versions.
|
||||
// See https://github.com/transloadit/uppy/pull/5602
|
||||
const key = fields?.key
|
||||
if (!key) {
|
||||
console.error(
|
||||
'Expected `fields.key` to be returend but the backend/Companion',
|
||||
)
|
||||
}
|
||||
this.#setS3MultipartState(file, { key: key! })
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue