mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-19 19:36:38 +00:00
Converting more multi site
This commit is contained in:
@@ -18,9 +18,7 @@ import HttpCode from "@server/types/HttpCode";
|
||||
import createHttpError from "http-errors";
|
||||
import logger from "@server/logger";
|
||||
import { eq, and } from "drizzle-orm";
|
||||
import { addPeer } from "../newt/peers";
|
||||
import { fromError } from "zod-validation-error";
|
||||
import { newts } from "@server/db/schema";
|
||||
import moment from "moment";
|
||||
import { hashPassword } from "@server/auth/password";
|
||||
|
||||
@@ -122,7 +120,6 @@ export async function createClient(
|
||||
const [newClient] = await trx
|
||||
.insert(clients)
|
||||
.values({
|
||||
siteId,
|
||||
orgId: site.orgId,
|
||||
name,
|
||||
subnet,
|
||||
|
||||
Reference in New Issue
Block a user