Skip to content

Commit

Permalink
WIP Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Edwards committed Oct 5, 2024
1 parent 6f87c58 commit 68f31b3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ private async Task<Either<UploadMultipartFileTransferError, ValidRequestData>> V
long maximumTransferSize = Convert.ToInt64(_transferStorageSettings.MaximumTransferSizeMB * Math.Pow(10, 6));
long updatedTransferSize = _transferRepository.GetTransferPartsSize(itemId.Value, TransferItemType.File, TransferUserType.User)
+ request.CiphertextStream.Length;

Console.WriteLine(updatedTransferSize);

if (updatedTransferSize > maximumTransferSize)
{
Expand Down

0 comments on commit 68f31b3

Please sign in to comment.