From 619cfef1c7dc0e90330f64da7f195110041c1aec Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 27 Mar 2025 14:27:41 -0400 Subject: [PATCH] Working on multi client --- server/routers/client/listClients.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/routers/client/listClients.ts b/server/routers/client/listClients.ts index 1bef1488..c7977ea4 100644 --- a/server/routers/client/listClients.ts +++ b/server/routers/client/listClients.ts @@ -41,7 +41,6 @@ function queryClients(orgId: string, accessibleClientIds: number[]) { .select({ clientId: clients.clientId, orgId: clients.orgId, - siteId: clients.siteId, siteNiceId: sites.niceId, name: clients.name, pubKey: clients.pubKey, @@ -55,7 +54,6 @@ function queryClients(orgId: string, accessibleClientIds: number[]) { }) .from(clients) .leftJoin(orgs, eq(clients.orgId, orgs.orgId)) - .innerJoin(sites, eq(clients.siteId, sites.siteId)) .where( and( inArray(clients.clientId, accessibleClientIds),