Skip to content

Commit

Permalink
Merge pull request #1 from biplovkc/biplovkc-patch-1
Browse files Browse the repository at this point in the history
Update FileRepository.cs
  • Loading branch information
biplovkc authored Jul 30, 2023
2 parents cb5b63b + 1c9685f commit 8a0a8ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/File/Repositories/FileRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async ValueTask<OneOf<AddFileResponse, Error<string>, Exception>> UploadF
InputStream = formFile.OpenReadStream(),
Key = $"{folderName}/{fileId}",
BucketName = _options.BucketName,
CannedACL = S3CannedACL.NoACL,
CannedACL = S3CannedACL.PublicRead
};

if (isTagsSupported)
Expand Down Expand Up @@ -137,4 +137,4 @@ public OneOf<GetFileDownloadUrlResponse, Exception> GetFileById(string key, stri
}

}
}
}

0 comments on commit 8a0a8ec

Please sign in to comment.