fixes for standard configs

This commit is contained in:
Stanley Dimant
2022-08-24 21:43:17 +02:00
parent fd23cca840
commit 5b136685db
6 changed files with 8 additions and 88 deletions

View File

@@ -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)