File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ extension AWSS3StoragePlugin {
3737
3838 do {
3939 let authService = AWSAuthService ( )
40+ let defaultAccessLevel = try configClosures. retrieveDefaultAccessLevel ( )
4041 let storageService = try AWSS3StorageService ( authService: authService,
4142 region: configClosures. retrieveRegion ( ) ,
4243 bucket: configClosures. retrieveBucket ( ) ,
@@ -45,7 +46,7 @@ extension AWSS3StoragePlugin {
4546
4647 configure ( storageService: storageService,
4748 authService: authService,
48- defaultAccessLevel: try configClosures . retrieveDefaultAccessLevel ( ) )
49+ defaultAccessLevel: defaultAccessLevel )
4950 } catch let storageError as StorageError {
5051 throw storageError
5152 } catch {
You can’t perform that action at this time.
0 commit comments