Skip to content

Commit

Permalink
Merge branch 'main' into fix-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Nov 25, 2024
2 parents a5fdf27 + 273774e commit 835ae07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@types/mime": "^3.0.0",
"@types/mocha": "^9.1.1",
"@types/mockery": "^1.4.29",
"@types/node": "^20.4.4",
"@types/node": "^22.0.0",
"@types/node-fetch": "^2.1.3",
"@types/proxyquire": "^1.3.28",
"@types/request": "^2.48.4",
Expand Down
2 changes: 1 addition & 1 deletion src/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3820,7 +3820,7 @@ class File extends ServiceObject<File, FileMetadata> {
encryptionKey: optionsOrCallback,
};
} else if (typeof optionsOrCallback === 'object') {
options = optionsOrCallback;
options = optionsOrCallback as EncryptionKeyOptions;
}

const newFile = this.bucket.file(this.id!, options);
Expand Down

0 comments on commit 835ae07

Please sign in to comment.