fix(api): force-dynamic for get run and run

This commit is contained in:
BennyKok 2024-01-01 01:48:56 +08:00
parent d63ab1924b
commit 75776e6d8f

View File

@ -10,6 +10,8 @@ import { eq } from "drizzle-orm";
import { NextResponse } from "next/server";
import { z } from "zod";
export const dynamic = "force-dynamic";
const Request = z.object({
deployment_id: z.string(),
inputs: z.record(z.string()).optional(),