mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-08 02:50:33 +00:00
Merge branch 'main' of https://github.com/fosrl/pangolin
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
import { ActionsEnum, checkUserActionPermission } from "@server/auth/actions";
|
||||
import { db } from "@server/db";
|
||||
import {
|
||||
orgs,
|
||||
roleSites,
|
||||
sites,
|
||||
userSites,
|
||||
} from "@server/db/schema";
|
||||
import { orgs, roleSites, sites, userSites } from "@server/db/schema";
|
||||
import HttpCode from "@server/types/HttpCode";
|
||||
import response from "@server/utils/response";
|
||||
import { and, eq, inArray, or, sql } from "drizzle-orm";
|
||||
@@ -38,7 +33,6 @@ function querySites(orgId: string, accessibleSiteIds: number[]) {
|
||||
.select({
|
||||
siteId: sites.siteId,
|
||||
name: sites.name,
|
||||
subdomain: sites.subdomain,
|
||||
pubKey: sites.pubKey,
|
||||
subnet: sites.subnet,
|
||||
megabytesIn: sites.megabytesIn,
|
||||
|
||||
Reference in New Issue
Block a user