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
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

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[] = [];