Fixed variable loading for single server query
This commit is contained in:
@@ -77,10 +77,9 @@ public class ServersControllers : Controller
|
||||
var server = ServerRepository
|
||||
.Get()
|
||||
.Include(x => x.Allocations)
|
||||
.Include(x => x.Variables)
|
||||
.Include(x => x.MainAllocation)
|
||||
.Include(x => x.Image)
|
||||
.ThenInclude(x => x.Variables)
|
||||
.Include(x => x.Image)
|
||||
.ThenInclude(x => x.DockerImages)
|
||||
.Where(x => x.Node.Id == node.Id)
|
||||
.FirstOrDefault(x => x.Id == id);
|
||||
|
||||
Reference in New Issue
Block a user