fix(userlist): correct node ID assignment and update query logic for tag filtering
This commit is contained in:
parent
61ac829c37
commit
60988bc2ba
@ -68,7 +68,7 @@ func (l *GetServerUserListLogic) GetServerUserList(req *types.GetServerUserListR
|
||||
var nodeTag []string
|
||||
var nodeIds []int64
|
||||
for _, n := range nodes {
|
||||
nodeIds = append(nodeIds, n.Id)
|
||||
nodeIds = append(nodeIds, n.ServerId)
|
||||
if n.Tags != "" {
|
||||
nodeTag = append(nodeTag, strings.Split(n.Tags, ",")...)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user