mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 00:22:40 +01:00
Order log files returned from /Administration/Logs
This commit is contained in:
@@ -348,7 +348,10 @@ namespace Tgstation.Server.Host.Controllers
|
||||
|
||||
await Task.WhenAll(tasks).ConfigureAwait(false);
|
||||
|
||||
var result = tasks.Select(x => x.Result).ToList();
|
||||
var result = tasks
|
||||
.Select(x => x.Result)
|
||||
.OrderByDescending(x => x.Name)
|
||||
.ToList();
|
||||
|
||||
return Ok(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user