Skip to content

Commit

Permalink
Merge pull request #50 from internxt/feature/skip-checking-bucket
Browse files Browse the repository at this point in the history
[_]: feature/skip-checking-bucket
  • Loading branch information
AlexMenor authored Mar 3, 2022
2 parents 1931dca + e8d98f3 commit d1bfece
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@internxt/inxt-js",
"version": "1.3.0",
"version": "1.4.0",
"description": "",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/api/FileObjectUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class FileObjectUpload extends EventEmitter implements FileObjectUploadPr
stage(): Promise<void> {
this.checkIfIsAborted();

const req = this.api.createFrame();
const req = this.api.createFrame({ data: { bucketId: this.bucketId } });
this.requests.push(req);

return req
Expand Down
1 change: 0 additions & 1 deletion src/lib/core/upload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export async function upload(

return file
.init()
.then(() => file.checkBucketExistence())
.then(() => file.stage())
.then(() => file.upload())
.then((shardMetas) => file.createBucketEntry(shardMetas))
Expand Down

0 comments on commit d1bfece

Please sign in to comment.