This commit is contained in:
gitGnome
2026-04-14 15:58:10 +02:00
parent a020c13394
commit 39a28ee888
2 changed files with 7 additions and 4 deletions
+3 -3
View File
@@ -36,9 +36,9 @@ func MinInit() {
}
}
func putFile(ctx context.Context, key string, reader io.Reader, size uint32, contentType string, meta map[string]string) error {
func putFile(ctx context.Context, key string, reader io.Reader, size uint32, contentType string) error {
dbConn.PutObject(ctx, globals.FileStorageBucketName, key, reader, int64(size), minio.PutObjectOptions{
ContentType: contentType,
UserMetadata: meta,
ContentType: contentType,
})
}