mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 23:47:13 +00:00
Fix edit site route
This commit is contained in:
parent
f2381c5931
commit
8e197726e5
@ -3,11 +3,11 @@ import prisma from "@/app/prisma";
|
||||
import { z } from "zod/v4";
|
||||
|
||||
const schema = z.object({
|
||||
id: z.string(),
|
||||
id: z.number(),
|
||||
name: z.string(),
|
||||
description: z.string(),
|
||||
networks: z.array(z.object({
|
||||
id: z.string().optional(),
|
||||
id: z.number().optional(),
|
||||
name: z.string().optional(),
|
||||
ipv4Subnet: z.string().optional(),
|
||||
ipv6Subnet: z.string().optional(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user