add membership

This commit is contained in:
Fran Jurmanović
2025-06-26 00:51:54 +02:00
parent 69733e4940
commit 74df36cd0d
24 changed files with 863 additions and 83 deletions

View File

@@ -294,7 +294,7 @@ func (s *ServerService) GetAll(ctx *fiber.Ctx, filter *model.ServerFilter) (*[]m
} else {
serverInstance := instance.(*tracking.AccServerInstance)
if serverInstance.State != nil {
(*server).State = *serverInstance.State
server.State = serverInstance.State
}
}
}
@@ -325,7 +325,7 @@ func (as *ServerService) GetById(ctx *fiber.Ctx, serverID int) (*model.Server, e
} else {
serverInstance := instance.(*tracking.AccServerInstance)
if (serverInstance.State != nil) {
(*server).State = *serverInstance.State
server.State = serverInstance.State
}
}