Merge remote-tracking branch 'origin/dev' into dev
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run

This commit is contained in:
Mike Cao 2025-10-30 17:05:49 -07:00
commit 751568d871
2 changed files with 5 additions and 5 deletions

View file

@ -24,9 +24,9 @@ export async function GET(request: Request, { params }: { params: Promise<{ link
export async function POST(request: Request, { params }: { params: Promise<{ linkId: string }> }) {
const schema = z.object({
name: z.string(),
url: z.string(),
slug: z.string(),
name: z.string().optional(),
url: z.string().optional(),
slug: z.string().min(8).optional(),
});
const { auth, body, error } = await parseRequest(request, schema);

View file

@ -24,8 +24,8 @@ export async function GET(request: Request, { params }: { params: Promise<{ pixe
export async function POST(request: Request, { params }: { params: Promise<{ pixelId: string }> }) {
const schema = z.object({
name: z.string(),
slug: z.string().min(8),
name: z.string().optional(),
slug: z.string().min(8).optional(),
});
const { auth, body, error } = await parseRequest(request, schema);