mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 15:14:14 +01:00
fixes for standard configs
This commit is contained in:
parent
fd23cca840
commit
5b136685db
6 changed files with 8 additions and 88 deletions
|
|
@ -199,6 +199,8 @@ namespace MareSynchronosServer.Hubs
|
|||
UploadFileRequest req = new();
|
||||
req.FileData = ByteString.CopyFrom(await File.ReadAllBytesAsync(tempFileName).ConfigureAwait(false));
|
||||
File.Delete(tempFileName);
|
||||
req.Hash = computedHashString;
|
||||
req.Uploader = AuthenticatedUserId;
|
||||
_ = await _fileServiceClient.UploadFileAsync(req).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue