fixed upload issue, remember C# types, bar small types; are values.
This commit is contained in:
parent
f9758df24f
commit
f468af89e0
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue