fix presigned urls

This commit is contained in:
Evan Jarrett
2025-10-10 17:19:44 -05:00
parent fb5e09489e
commit f3748abf31
+1 -4
View File
@@ -114,10 +114,7 @@ func (s *HoldService) initS3Client() error {
}
// Extract S3 configuration from storage parameters
params, ok := s.config.Storage.Parameters()["s3"].(configuration.Parameters)
if !ok {
return fmt.Errorf("failed to get S3 parameters from storage config")
}
params := s.config.Storage.Parameters()
// Extract required S3 configuration
region, _ := params["region"].(string)