fixed upload issue, remember C# types, bar small types; are values.

This commit is contained in:
michael-bailey 2025-03-19 01:50:37 +00:00
parent f9758df24f
commit f468af89e0
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class FileRepository(ApplicationDbContext context)
var block = new FileBlock
{
BlockNumber = blockNumber++,
Data = buffer,
Data = buffer.ToArray(),
FileHandle = fileHandle
};
fileHandle.FileBlocks.Add(block);