<#471 Inconsistency for active nodes in API &amp; ...
# osctrl
g
#471 Inconsistency for active nodes in API &amp; UI Issue created by peterbogdan Hello I see there are some inconsistency in Active nodes when getting them using the API:
Copy code
{api}/api/v1//nodes/{env}/active/
Looking at the code it is querying for the field `updated_at`: https://github.com/jmpsec/osctrl/blob/main/nodes/nodes.go#L241 Maybe we can use the helper function from here to have better results: https://github.com/jmpsec/osctrl/blob/main/nodes/utils.go#L9 jmpsec/osctrl