We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
` async uploadPart(partConfig: { bucketName: string objectName: string uploadID: string partNumber: number headers: RequestHeaders }) { const { bucketName, objectName, uploadID, partNumber, headers } = partConfig
const method = 'PUT' const query = `uploadId=${uploadID}&partNumber=${partNumber}` const requestOptions = { method, bucketName, objectName: objectName, query, headers } const res = await this.makeRequestAsync(requestOptions) const body = await readAsString(res) const partRes = uploadPartParser(body) return { etag: sanitizeETag(partRes.ETag), key: objectName, part: partNumber, }
}
`
This method should receive payload parameters ,It should be changed to the following:
async uploadPart(partConfig: { bucketName: string objectName: string uploadID: string partNumber: number headers: RequestHeaders }),paylod: Binary){ //....... const res = await this.makeRequestAsync(requestOptions,paylod) //..... }
The text was updated successfully, but these errors were encountered:
Feel free to contribute by sending a PR/Changes with functional tests @MilkChan01 .
Sorry, something went wrong.
Also please take a look at #1325
pr : #1334
No branches or pull requests
`
async uploadPart(partConfig: {
bucketName: string
objectName: string
uploadID: string
partNumber: number
headers: RequestHeaders
}) {
const { bucketName, objectName, uploadID, partNumber, headers } = partConfig
}
`
This method should receive payload parameters ,It should be changed to the following:
async uploadPart(partConfig: { bucketName: string objectName: string uploadID: string partNumber: number headers: RequestHeaders }),paylod: Binary){ //....... const res = await this.makeRequestAsync(requestOptions,paylod) //..... }
The text was updated successfully, but these errors were encountered: