diff --git a/services/registry/registry_svc.go b/services/registry/registry_svc.go index a65f969..b9af588 100644 --- a/services/registry/registry_svc.go +++ b/services/registry/registry_svc.go @@ -538,7 +538,11 @@ func (s *RegistryService) GetLatestNodeVersion(ctx context.Context, client *ent. nodeVersion, err := client.NodeVersion. Query(). Where(nodeversion.NodeIDEQ(nodeId)). - //Where(nodeversion.StatusEQ(schema.NodeVersionStatusActive)). + Where(nodeversion.StatusIn( + schema.NodeVersionStatusActive, + schema.NodeVersionStatusFlagged, + schema.NodeVersionStatusPending, + )). Order(ent.Desc(nodeversion.FieldCreateTime)). WithStorageFile(). WithComfyNodes().