hotfix for connectiondto
This commit is contained in:
@@ -41,7 +41,10 @@ namespace MareSynchronosServer.Hubs
|
||||
};
|
||||
}
|
||||
|
||||
return new ConnectionDto();
|
||||
return new ConnectionDto()
|
||||
{
|
||||
ServerVersion = API.Version
|
||||
};
|
||||
}
|
||||
|
||||
[HubMethodName(ConnectionHubAPI.InvokeGetSystemInfo)]
|
||||
|
||||
@@ -47,7 +47,6 @@ namespace MareSynchronosServer.Hubs
|
||||
{
|
||||
Logger.LogInformation("User " + AuthenticatedUserId + " deleted all their files");
|
||||
|
||||
await DbContext.SaveChangesAsync();
|
||||
var ownFiles = await DbContext.Files.Where(f => f.Uploaded && f.Uploader.UID == AuthenticatedUserId).ToListAsync();
|
||||
foreach (var file in ownFiles)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user