🚧 wip: user devices endpoint

This commit is contained in:
Fred KISSIE
2026-02-06 05:37:44 +01:00
parent 67b63d3084
commit 9f2fd34e99
10 changed files with 374 additions and 74 deletions

View File

@@ -380,7 +380,7 @@ export async function listResources(
hcEnabled: targetHealthCheck.hcEnabled
})
.from(targets)
.where(sql`${targets.resourceId} in ${resourceIdList}`)
.where(inArray(targets.resourceId, resourceIdList))
.leftJoin(
targetHealthCheck,
eq(targetHealthCheck.targetId, targets.targetId)