Started implementing server service and daemon controllers

This commit is contained in:
2025-09-15 21:47:07 +02:00
parent 32f447d268
commit 91fb15a03e
11 changed files with 318 additions and 8 deletions

View File

@@ -92,8 +92,9 @@ public class ServersController : Controller
.Include(x => x.Variables)
.Include(x => x.Star)
.AsNoTracking()
.Where(x => x.Id == id)
.ProjectToAdminResponse()
.FirstOrDefaultAsync(x => x.Id == id);
.FirstOrDefaultAsync();
if (server == null)
return Problem("No server with that id found", statusCode: 404);