Skip to content

Commit

Permalink
reverted variable name change
Browse files Browse the repository at this point in the history
  • Loading branch information
ekjotmultani committed Nov 11, 2024
1 parent 8d40627 commit 815288a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,15 @@ class AmplifyStorageS3Dart extends StoragePluginInterface
defaultPluginOptions: const S3DownloadDataPluginOptions(),
);

options = StorageDownloadDataOptions(
final s3Options = StorageDownloadDataOptions(
pluginOptions: s3PluginOptions,
bucket: options?.bucket,
);

final bytes = BytesBuilder();
final downloadTask = storageS3Service.downloadData(
path: path,
options: options,
options: s3Options,
onProgress: onProgress,
onData: bytes.add,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ S3DownloadFileOperation downloadFile({
);
}

// TODO(ekjotm): add bucket option to function once getURL update has been implemented
Future<S3DownloadFileResult> _downloadFromUrl({
required StoragePath path,
required AWSFile localFile,
Expand Down

0 comments on commit 815288a

Please sign in to comment.