Fix missing where clause; Resolves #117

This commit is contained in:
Owen Schwartz
2025-01-30 20:49:44 -05:00
parent cb1ccbe945
commit 9b9c343e2d

View File

@@ -106,6 +106,7 @@ export const handleRegisterMessage: MessageHandler = async (context) => {
eq(targets.enabled, true)
)
)
.where(eq(resources.siteId, siteId))
.groupBy(resources.resourceId);
let tcpTargets: string[] = [];