Skip to content

Conversation

@trim21
Copy link
Contributor

@trim21 trim21 commented Nov 18, 2023

also refactor API to use async/await

testing script:

import * as minio from 'minio'
async function main() {
  const c = new minio.Client({...})
  await c.initiateNewMultipartUpload('test', 'oo', {})
  const uploadID = await c.findUploadId("test", 'oo')
  console.log(uploadID)
}
main().catch(e => {
  throw e
})

@trim21
Copy link
Contributor Author

trim21 commented Nov 21, 2023

@prakashsvmx

Copy link
Member

@prakashsvmx prakashsvmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified with S3. LGTM 👍

findUploadId
removeIncompleteUpload
abortMultipartUpload

@prakashsvmx prakashsvmx merged commit 15b9b23 into minio:master Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants