🐛 Bug fixes
This commit is contained in:
		| @@ -30,5 +30,5 @@ type S3Destination struct { | ||||
| 	SecretKey     string `json:"secret_key"` | ||||
| 	AccessBaseURL string `json:"access_baseurl"` | ||||
| 	EnableSSL     bool   `json:"enable_ssl"` | ||||
| 	EnabledSigned bool   `json:"enable_signed"` | ||||
| 	EnableSigned  bool   `json:"enable_signed"` | ||||
| } | ||||
|   | ||||
| @@ -116,7 +116,7 @@ func OpenAttachmentByRID(rid string, region ...string) (url string, mimetype str | ||||
| 	case models.DestinationTypeS3: | ||||
| 		var destConfigured models.S3Destination | ||||
| 		_ = jsoniter.Unmarshal(rawDest, &destConfigured) | ||||
| 		if destConfigured.EnabledSigned { | ||||
| 		if destConfigured.EnableSigned { | ||||
| 			var client *minio.Client | ||||
| 			client, err = minio.New(destConfigured.Endpoint, &minio.Options{ | ||||
| 				Creds:  credentials.NewStaticV4(destConfigured.SecretID, destConfigured.SecretKey, ""), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user