Skip to content

Commit

Permalink
modify getFileAsURL function on GCS Adapter to make the options param…
Browse files Browse the repository at this point in the history
… optional
  • Loading branch information
tesirm99 committed May 13, 2024
1 parent 81c46bf commit 3cb7441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdapterGoogleCloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class AdapterGoogleCloud extends AbstractAdapter {

// protected, called by methods of public API via AbstractAdapter

protected async _getFileAsURL(bucketName: string, fileName: string, options: Options): Promise<ResultObject> {
protected async _getFileAsURL(bucketName: string, fileName: string, options?: Options): Promise<ResultObject> {
try {
const file = this._client.bucket(bucketName).file(fileName);
if(options.signed) {
Expand Down

0 comments on commit 3cb7441

Please sign in to comment.