mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 09:34:48 +02:00
Working on multi client
This commit is contained in:
parent
15eb666394
commit
619cfef1c7
1 changed files with 0 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue